Wind River Support Network

HomeDefectsLIN6-10673
Fixed

LIN6-10673 : rootfs fails to build because of linux-libc-headers in GPLv2 project

Created: Dec 23, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 6, 2016
Found In Version: 6.0.0.26
Fix Version: 6.0.0.27
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

When building a GPLv2 project that includes  linux-libc-headers-dev it fails to build rootfs with this message:
Computing transaction...error: Can't install libc6-dev-2.18-r2.0@x86_64: no package provides linux-libc-headers-dev
but this should be GPLv2.

Steps to Reproduce

configure a project like this: 
/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc-core --enable-kernel=standard --enable-build=production --with-layer=meta-selinux,wr-security,cgp, --with-template=feature/archiver --with-license-flags-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+ --with-rcpl-version=0026

use attached default-image.bb 

(can be reproduced with rcpl26 *only*)

at the end of $make you get that error message: 
|
| WARNING: /intel_x86_64_hp7_libcheaders_fail/bitbake_build/tmp/work/intel_x86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/do_rootfs/run.do_rootfs.12339:1 exit 1 from
|   smart --data-dir=${target_rootfs}/var/lib/smart install -y ${pkgs_to_install}
| ERROR: Function failed: do_rootfs (log file is located at /intel_x86_64_hp7_libcheaders_fail/bitbake_build/tmp/work/intel_x86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/do_rootfs/log.do_rootfs.12339)
ERROR: Task 7 (//intel_x86_64_hp7_libcheaders_fail/layers/local/recipes-img/images/wrlinux-image-glibc-core.bb, do_rootfs) failed with exit code '1'
---

Other Downloads


Live chat
Online