Wind River Support Network

HomeDefectsLIN10-4358
Fixed

LIN10-4358 : Adding dev-pkgs to the local.conf and removing system-d causes link errors

Created: Jul 26, 2018    Updated: Dec 3, 2018
Resolved Date: Aug 9, 2018
Found In Version: 10.17.41.9
Fix Version: 10.17.41.10
Severity: Severe
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config

Description

While building the core image this error pops up:

ERROR: wrlinux-image-glibc-core-1.0-r2 do_rootfs: [log_check] wrlinux-image-glibc-core: found 2 error messages in the logfile:
[log_check] update-alternatives: Error: not linking /prodrigu/cases/lx10_intel-x86-64-grpc/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs/sbin/fstrim to /bin/busybox.nosuid since /prodrigu/cases/lx10_intel-x86-64-grpc/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs/sbin/fstrim exists and is not a link
[log_check] update-alternatives: Error: not linking /prodrigu/cases/lx10_intel-x86-64-grpc/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs/bin/usleep to /bin/busybox.nosuid since /prodrigu/cases/lx10_intel-x86-64-grpc/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs/bin/usleep exists and is not a link

ERROR: wrlinux-image-glibc-core-1.0-r2 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /prodrigu/cases/lx10_intel-x86-64-grpc/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/log.do_rootfs.74432
ERROR: Task (/prodrigu/cases/lx10_intel-x86-64-grpc/layers/wrlinux/wrlinux-distro/recipes-base/images/wrlinux-image-glibc-core.bb:do_rootfs) failed with exit code '1'

Steps to Reproduce

1. Create a wrlinux-x project with --machines qemux86-64
2. Edit the local.conf to match the attached one
comment the four lines regarding system-d
add dev-pkgs to EXTRA_IMAGE_FEATURES
set DISTRO ?= "wrlinux"
3. $ bitbake wrlinux-image-glibc-core
4. Watch the output

Other Downloads


Live chat
Online