| Summary: | duplicated bash causes do_rootfs failed on Fedora 17 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | yilong, sun <yilongx.y.sun> |
| Component: | core | Assignee: | Saul Wold <sgw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dongxiao.xu, jessica.zhang, jiajun.xu, lianhao.lu, meta.mr.watcher, meta.watcher, nitin.a.kamble, raj.khem, scott.a.garman, sgw |
| Version: | 1.2 | ||
| Target Milestone: | 1.2.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | Pull request pending for denzil branch | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
yilong, sun
2012-04-23 09:02:07 UTC
I have fixed couple of fedora 17 related issue in the contrib branch here: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=nitin/bugfixes&id=d9a905bbfefed1df233e83c3ffdf506604be8a4f I did not see the "bash not found" issue with the master branch. Nitin This issue still exists on poky/poky-contrib master branch. tree/branch: poky/master commit: c47a869308cb0cccde0b1aee9a001352c99a8395 when i used poky-contrib tree to build core-image-sato-sdk image, the build will be blocked by bug 2278 tree/branch: poky-contrib/master commit: f81b0593e74a31cb2d992df0583948ff57e3ed98 (In reply to comment #1) > I have fixed couple of fedora 17 related issue in the contrib branch here: > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=nitin/bugfixes&id=d9a905bbfefed1df233e83c3ffdf506604be8a4f > I did not see the "bash not found" issue with the master branch. > Nitin Hi Nitin, We are using Fedora 17 Alpha, are you using Fedora 17 Beta? We would like to install the latest version and have another try tomorrow. I am also using fedora 17 alpha. And I am using the poky/master branch. Nitin (In reply to comment #4) > I am also using fedora 17 alpha. And I am using the poky/master branch. > Nitin Hi Nitin, We find that on Fedora 17, there are 2 bash commands under /bin and /usr/bin. For quilt and eglibc-utils, they check the location of bash on host and find the /usr/bin/bash, which causes such failure with do_rootfs. Could you check if you have /usr/bin/bash on your Fedora 17? Reopen the bug since we still see the issue with Fedora 17. I am seeing both /bin/bash & /usr/bin/bash on fedora 17 alpha system. I am trying to reproduce the issue with the current master now. Nitin I don't see rootfs failing on fedora 17: NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Succeeded NOTE: Running noexec task 6637 of 6639 (ID: 5, /home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_build) NOTE: Running task 6638 of 6639 (ID: 13, /home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rm_work) NOTE: package core-image-sato-sdk-1.0-r0: task do_rm_work: Started NOTE: package core-image-sato-sdk-1.0-r0: task do_rm_work: Succeeded NOTE: Running task 6639 of 6639 (ID: 14, /home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rm_work_all) NOTE: package core-image-sato-sdk-1.0-r0: task do_rm_work_all: Started NOTE: package core-image-sato-sdk-1.0-r0: task do_rm_work_all: Succeeded NOTE: Tasks Summary: Attempted 6639 tasks of which 3440 didn't need to be rerun and all succeeded. Summary: There were 10 WARNING messages shown. I tested with this commit from master: commit d4e265661517f8dd4e1648fdc56bac5973f986f6 Author: Saul Wold <sgw@linux.intel.com> Date: Thu Apr 19 12:14:57 2012 -0700 poky.conf: Change WARNS -> ERRORS A major effort was completed as part of 1.2 to fix many WARNING messages, change the level of those fixed areas to ERROR so we do not backslide on our quality level Signed-off-by: Saul Wold <sgw@linux.intel.com> Jiajun Xu, Can you reproduce the issue with fedora 17 with commit d4e265661517f8dd4e1648fdc56bac5973f986f6 ? I can reproduce the issue on fedora 17 with commit d4e265661517f8dd4e1648fdc56bac5973f986f6. But,the error message compared with last time is different. Old error message: error: Failed dependencies: | /usr/bin/bash is needed by eglibc-utils-2.13-r26+svnr15508.armv5te | /usr/bin/bash is needed by quilt-0.51-r2.armv5te New error message: error: Failed dependencies: | /usr/bin/bash is needed by eglibc-utils-2.13-r26+svnr15508.armv5te Do you want to remote debug this issue? Hi Sun, I think remote debugging will save the time for the issue. so please send me details to enable me for remote debugging. Thanks, Nitin This time I tried building core-image-sato-sdk from scratch for qemuarm machine, and still I do not see the bash related failures. yes,I know the reason. you change the commit. this issue may be fixed in latest version, but in the commit(d4e265661517f8dd4e1648fdc56bac5973f986f6), this issue exists on fedora 17 alpha Hi Nitin,
I'll try this issue with latest version of poky and give the latest result.
you can remote debugging if this issue exists.
Sun, My testing was with the commit: d4e265661517f8dd4e1648fdc56bac5973f986f6 So your last comment does not seem right to me. and in the remote debugging I was seeing some unexpected unrelated build issues. As discussed before this issue is assigned to you. Nitin I build core-image-sato-sdk image failed on fedora17 with poky branch and commit 348da93e283b2b8454fd9cde80d4b17378e2a168. it caused by building gcc_4.7.
I think this issue "do_rootfs" is blocked by current gcc_4.7 build error.
Detailed error message as follows:
Loading cache...done.
Loaded 1143 entries from dependency cache.
Build Configuration:
BB_VERSION = "1.15.2"
TARGET_ARCH = "powerpc"
TARGET_OS = "linux"
MACHINE = "qemuppc"
DISTRO = "poky"
DISTRO_VERSION = "1.2+snapshot-20120604"
TUNE_FEATURES = "m32 fpu-hard ppc603e"
TARGET_FPU = ""
meta
meta-yocto = "test:348da93e283b2b8454fd9cde80d4b17378e2a168"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 2471 of 5418 (ID: 2743, /home/build/distro/poky/meta/recipes-qt/qt4/qt4-x11-free_4.8.1.bb, do_install)
NOTE: Running task 3852 of 5418 (ID: 1845, /home/build/distro/poky/meta/recipes-devtools/gcc/gcc_4.7.bb, do_compile)
NOTE: Running task 3907 of 5418 (ID: 1715, /home/build/distro/poky/meta/recipes-graphics/xorg-app/xhost_1.0.5.bb, do_package)
NOTE: Running task 3912 of 5418 (ID: 1705, /home/build/distro/poky/meta/recipes-graphics/xorg-app/xauth_1.0.7.bb, do_package)
NOTE: package qt4-x11-free-4.8.1-r44.1: task do_install: Started
NOTE: package xauth-1_1.0.7-r8.0: task do_package: Started
NOTE: package xhost-1_1.0.5-r8.0: task do_package: Started
NOTE: package gcc-4.7.0+svnr186651-r1: task do_compile: Started
ERROR: Function failed: do_compile (see /home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/temp/log.do_compile.14228 for further information)
ERROR: Logfile of failure stored in: /home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/temp/log.do_compile.14228
Log data follows:
| DEBUG: SITE files ['endian-big', 'bit-32', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc32-linux', 'powerpc-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 ARCH_FLAGS_FOR_TARGET= -m32 -mhard-float -mcpu=603e -isystem/home/build/distro/poky/test/tmp/sysroots/qemuppc/usr/include
| make[1]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libiberty'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/libiberty'
| make[3]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/libiberty/testsuite'
| make[3]: Nothing to be done for `all'.
| make[3]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libiberty/testsuite'
| make[3]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/libiberty/testsuite'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libiberty/testsuite'
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/libiberty'
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libiberty'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/fixincludes'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/build-x86_64-linux/fixincludes'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/lto-plugin'
| make all-am
| make[3]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/lto-plugin'
| make[3]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/lto-plugin'
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/lto-plugin'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/intl'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/intl'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/fixincludes'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/fixincludes'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libdecnumber'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libdecnumber'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libcpp'
| test -f config.h || (rm -f stamp-h1 && make stamp-h1)
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/libcpp'
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/gcc'
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/gcc'
| Checking multilib configuration for libgcc...
| make[2]: Entering directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/powerpc-poky-linux/libgcc'
| # If this is the top-level multilib, build all the other
| # multilibs.
| dest=../.././gcc/include/tmp$$-unwind.h; \
| cp unwind.h $dest; \
| chmod a+r $dest; \
| sh /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../move-if-change $dest ../.././gcc/include/unwind.h
| /home/build/distro/poky/test/tmp/sysroots/x86_64-linux/usr/libexec/ppc603e-poky-linux/gcc/powerpc-poky-linux/4.7.1/nm -pg tramp_s.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ && $3 !~ /.*_compat/ && $3 !~ /.*@.*/ { print "\t.hidden", $3 }' > tramp.visT
| powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=603e --sysroot=/home/build/distro/poky/test/tmp/sysroots/qemuppc -m32 -mhard-float -mcpu=603e -isystem/home/build/distro/poky/test/tmp/sysroots/qemuppc/usr/include -O2 -pipe -g -feliminate-unused-debug-types -O2 -O2 -pipe -g -feliminate-unused-debug-types -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/. -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../include -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber/dpd -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber -DHAVE_CC_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
| powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=603e --sysroot=/home/build/distro/poky/test/tmp/sysroots/qemuppc -m32 -mhard-float -mcpu=603e -isystem/home/build/distro/poky/test/tmp/sysroots/qemuppc/usr/include -O2 -pipe -g -feliminate-unused-debug-types -O2 -O2 -pipe -g -feliminate-unused-debug-types -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/. -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gERROR: Function failed: do_compile (see /home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/temp/log.do_compile.14228 for further information)
| cc-4_7-branch/libgcc/../gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../include -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber/dpd -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber -DHAVE_CC_TLS -o _muldi3_s.o -MT _muldi3_s.o -MD -MP -MF _muldi3_s.dep -DSHARED -DL_muldi3 -c /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/libgcc2.c
| powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=603e --sysroot=/home/build/distro/poky/test/tmp/sysroots/qemuppc -m32 -mhard-float -mcpu=603e -isystem/home/build/distro/poky/test/tmp/sysroots/qemuppc/usr/include -O2 -pipe -g -feliminate-unused-debug-types -O2 -O2 -pipe -g -feliminate-unused-debug-types -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -mno-minimal-toc -I. -I. -I../.././gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/. -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../gcc -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../include -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber/dpd -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/../libdecnumber -DHAVE_CC_TLS -o _negdi2_s.o -MT _negdi2_s.o -MD -MP -MF _negdi2_s.dep -DSHARED -DL_negdi2 -c /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/libgcc2.c
| /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such file or directory
| compilation terminated.
| make[2]: *** [unwind-dw2.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| mv -f tramp.visT tramp.vis
| make[2]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux/powerpc-poky-linux/libgcc'
| make[1]: *** [all-target-libgcc] Error 2
| make[1]: Leaving directory `/home/build/distro/poky/test/tmp/work/ppc603e-poky-linux/gcc-4.7.0+svnr186651-r1/gcc-4_7-branch/build.powerpc-poky-linux.powerpc-poky-linux'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package gcc-4.7.0+svnr186651-r1: task do_compile: Failed
ERROR: Task 1845 (/home/build/distro/poky/meta/recipes-devtools/gcc/gcc_4.7.bb, do_compile) failed with exit code '1'
Waiting for 3 running tasks to finish:
0: qt4-x11-free-4.8.1-r44.1 do_install (pid 14225)
1: xauth-1_1.0.7-r8.0 do_package (pid 14230)
2: xhost-1_1.0.5-r8.0 do_package (pid 14229)
NOTE: package xhost-1_1.0.5-r8.0: task do_package: Succeeded
Waiting for 2 running tasks to finish:
0: qt4-x11-free-4.8.1-r44.1 do_install (pid 14225)
1: xauth-1_1.0.7-r8.0 do_package (pid 14230)
NOTE: package xauth-1_1.0.7-r8.0: task do_package: Succeeded
Waiting for 1 running tasks to finish:
0: qt4-x11-free-4.8.1-r44.1 do_install (pid 14225)
Second Keyboard Interrupt, stopping...
NOTE: Sending SIGTERM to remaining 1 tasks
NOTE: Tasks Summary: Attempted 3911 tasks of which 3908 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/build/distro/poky/meta/recipes-devtools/gcc/gcc_4.7.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
(In reply to comment #17) > -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc- > 4_7-branch/libgcc/../libdecnumber -DHAVE_CC_TLS -o _negdi2_s.o -MT > _negdi2_s.o -MD -MP -MF _negdi2_s.dep -DSHARED -DL_negdi2 -c > /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7- > branch/libgcc/libgcc2.c > | > /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7- > branch/libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such file or > directory > | compilation terminated. > | make[2]: *** [unwind-dw2.o] Error 1 > | make[2]: *** Waiting for unfinished jobs.... gcc configure should have poked the target sysroot for presence of sys/sdt.h and as it seems its finding that header when configuring but not when its compiling if the test was to be believed. Can you pastebin the log.do_configure of gcc and config.log files somewhere ? also find if sdt.h is present in your target sysroot or not (In reply to comment #18) > (In reply to comment #17) > > -I/home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc- > > 4_7-branch/libgcc/../libdecnumber -DHAVE_CC_TLS -o _negdi2_s.o -MT > > _negdi2_s.o -MD -MP -MF _negdi2_s.dep -DSHARED -DL_negdi2 -c > > /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7- > > branch/libgcc/libgcc2.c > | > > /home/build/distro/poky/test/tmp/work-shared/gcc-4.7.0+svnr186651-r1/gcc-4_7- > > branch/libgcc/unwind-dw2.c:42:21: fatal error: sys/sdt.h: No such file or > > directory > | compilation terminated. > | make[2]: *** [unwind-dw2.o] > Error 1 > | make[2]: *** Waiting for unfinished jobs.... gcc configure > should have poked the target sysroot for presence of sys/sdt.h and as it > seems its finding that header when configuring but not when its compiling if > the test was to be believed. Can you pastebin the log.do_configure of gcc > and config.log files somewhere ? also find if sdt.h is present in your > target sysroot or not Since the bug is not for gcc-4.7 compile issue, pls. refer to bug 2545 for the gcc issue. This is host contamination issue resulted from do_configure, which got finally populated through do_package into final do_rootfs. Take quilt for example, in quilt's configure.ac, it defines a m4 macro QUILT_COMPAT_PROG_PATH to detect the bash. However, this m4 macro doesn't support cross compiling, so it checks the host bash, and give out the result of "/usr/bin/bash", because on Fedora 17 Alpha, there is a /usr/bin/bash installed on host. This "/usr/bin/bash" goes into some quilt's own script and goes into the RPM file dependency. However, during do_rootfs, we assumes the bash in target is at /bin/bash, which is not consistent with the RPM file dependency. Here we met the problem. we probably should use "env", just like we used to do with the python environment issue. |