Fixed
Created: Jan 28, 2016
Updated: Sep 8, 2018
Resolved Date: Feb 2, 2016
Found In Version: 7.0.0.11
Fix Version: 7.0.0.13
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config
Host OS: Linux Ubuntu
Architecture: IA32
On Ubuntu hosts the default /bin/sh is /bin/dash, and it is allowed with WR Linux 7, because the Yocto Project supports it.
Customer is working on changing over to a Managed OS (Ubuntu 14.04 image supplied by their IT department). This is
done to meet the IT department’s requirements. They found a failure in WRL-7 in this new Managed host OS
(Ubuntu 14.04) where the default setting of Ubuntu 14.04 for /bin/sh is symlinked to dash. The build worked with their current host
OS which has /bin/sh symlinked to bash.
See ShSetToDash_Failure.zip for the failing build output (build_log.txt) and they used the out of the box
Wind River build to show the issue. See do_build.sh.
ERROR: The following packages could not be configured offline and rootfs is read-only: ['100-syslog-ng']
ERROR: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /opt/workspace1/Platforms/prj/bitbake_build/tmp/work/intel_x86_32-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/do_rootfs/log.do_rootfs.30523
ERROR: Task 8 (/opt/workspace1/Platforms/prj/layers/wr-base/recipes-base/images/wrlinux-image-glibc-core.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2250 tasks of which 575 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
No currently running tasks (2250 of 2252)
NOTE: Build completion summary:
NOTE: From shared state: 70
NOTE: From scratch: 110
No currently running tasks (2250 of 2252)
Summary: 1 task failed:
/opt/workspace1/Platforms/prj/layers/wr-base/recipes-base/images/wrlinux-image-glibc-core.bb, do_rootfs
Summary: There were 3 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [export/intel-x86-32-glibc-core-preempt-rt-dist.tar.bz2] Error 1
This is not really a work around, but it will make things continue on until the
problem is fixed.
sudo ln -sf /bin/bash /bin/sh
Make sure /bin/sh points to /bin/dash e.g.
% ls -l /bin/sh
lrwxrwxrwx 1 root wheel 9 2012-07-06 13:25 /bin/sh -> /bin/dash
# ln -s {path-to-WRL7} /opt/WindRiver7
#./do_build.sh