Bug 6292

Summary: util-linux-native do_compile failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Chen Qi <Qi.Chen>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.5   
Target Milestone: 1.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Chen Qi 2014-05-08 07:00:41 UTC
test -f ./misc-utils/uuidd.8.in || srcdir=/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/work/x86_64-linux/util-linux-native/2.24.1-r0/util-linux-2.24.1/; \
    sed -e 's|@prefix[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr|g' -e 's|@exec_prefix[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr|g' -e 's|@sysconfdir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/etc|g' -e 's|@datadir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07
-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/share|g' -e 's|@sbindir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/sbin|g' -e 's|@bindir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin|g' -e 's|@includedir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroot
s/x86_64-linux/usr/include|g' -e 's|@localstatedir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/var|g' -e 's|@usrlib_execdir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib|g' -e 's|@usrbin_execdir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin|g' -e 's|@usrsbin_e
xecdir[@]|/home/nxadm/nx/yow-blade9.2/builds-2014-05-07-042145/qemumips64_small_rtkern/bitbake_build/tmp/sysroots/x86_64-linux/usr/sbin|g' -e 's|@VERSION[@]|2.24.1|g' -e 's|@LIBUUID_VERSION[@]|2.24.0|g' -e 's|@LIBMOUNT_VERSION[@]|2.24.0|g' -e 's|@LIBBLKID_VERSION[@]|2.24.0|g' ${srcdir}misc-utils/uuidd.8.in >misc-utils/uuidd.8.tmp
/bin/sh: line 2: misc-utils/uuidd.8.tmp: No such file or directory
Comment 1 Chen Qi 2014-05-08 07:03:20 UTC
This seems like a parallel build problem. It's not easy to reproduce the problem under normal circumstances. However, we can reproduce it via the steps below.

1. bitbake util-linux-native -ccleansstate
2. bitbake util-linux-native -cconfigure
3. bitbake util-linux-native -cdevshell
4. In devshell environment, cd ../build,make misc-utils/uuidd.8

//Chen Qi
Comment 2 Chen Qi 2014-06-03 07:05:14 UTC
Module: openembedded-core.git
Branch: master
Commit: b8c0a4f6a319a7cf84530b891707a5887f3caaf4
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b8c0a4f6a319a7cf84530b891707a5887f3caaf4