Tree/Branch: Poky/master git commit: 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a Steps: 1. Set following line in local.conf: INCOMPATIBLE_LICENSE = "GPLv3" 2. Build core-image-minimal and core-image-basic The core-image-minimal could build out. But when building the core-image-basic, I got the following error: ############### $ bitbake core-image-basic Pseudo is not present but is required, building this first before the main build NOTE: SKIPPING recipe mpfr because it's GPLv3&LGPLv3 | ETA: 00:01:28 NOTE: SKIPPING recipe gdbm because it's GPLv3 | ETA: 00:00:55 NOTE: SKIPPING recipe gmp because it's LGPLv3&GPLv3 | ETA: 00:00:48 NOTE: SKIPPING recipe libunistring because it's GPLv3&LGPLv3 NOTE: SKIPPING recipe gnupg because it's GPLv3 & LGPLv3 | ETA: 00:00:47 NOTE: SKIPPING recipe coreutils because it's GPLv3+ | ETA: 00:00:45 NOTE: SKIPPING recipe readline because it's GPLv3+ | ETA: 00:00:36 NOTE: SKIPPING recipe gettext because it's GPLv3+ & LGPL-2.1+ NOTE: SKIPPING recipe xz because it's GPLv2+ & GPLv3+ & LGPLv2.1+ | ETA: 00:00:35 NOTE: SKIPPING recipe texinfo because it's GPLv3+ NOTE: SKIPPING recipe ghostscript because it's GPLv3 NOTE: SKIPPING recipe mc because it's GPLv3####### | ETA: 00:00:35 NOTE: SKIPPING recipe grep because it's GPLv3###### | ETA: 00:00:33 NOTE: SKIPPING recipe parted because it's GPLv3+ NOTE: SKIPPING recipe diffutils because it's GPLv3+## | ETA: 00:00:33 NOTE: SKIPPING recipe pure because it's GPLv3########### | ETA: 00:00:31 NOTE: SKIPPING recipe sed because it's GPLv3+ NOTE: SKIPPING recipe gzip because it's GPLv3+ NOTE: SKIPPING recipe gperf because it's GPLv3+############# | ETA: 00:00:29 NOTE: SKIPPING recipe ed because it's GPLv3+ NOTE: SKIPPING recipe bash because it's GPLv3+############### | ETA: 00:00:29 NOTE: SKIPPING recipe cpio because it's GPLv3 NOTE: SKIPPING recipe which because it's GPLv3+ NOTE: SKIPPING recipe tar because it's GPLv3################### | ETA: 00:00:28 NOTE: SKIPPING recipe wget because it's GPLv3################### | ETA: 00:00:27 NOTE: SKIPPING recipe gawk because it's GPLv3##################### | ETA: 00:00:26 NOTE: SKIPPING recipe findutils because it's GPLv3+ NOTE: SKIPPING recipe msmtp because it's GPLv3###################### | ETA: 00:00:26 NOTE: SKIPPING recipe m4 because it's GPLv3################################# | ETA: 00:00:23 NOTE: SKIPPING recipe bison because it's GPLv3 NOTE: SKIPPING recipe patch because it's GPLv3############################### | ETA: 00:00:23 NOTE: SKIPPING recipe autoconf because it's GPLv2 & GPLv3##################### | ETA: 00:00:22 NOTE: SKIPPING recipe rsync because it's GPLv3+################################## | ETA: 00:00:22 NOTE: SKIPPING recipe ubootchart because it's GPLv3################################### | ETA: 00:00:20 NOTE: SKIPPING recipe guile because it's GPLv3########################################### | ETA: 00:00:20 NOTE: SKIPPING recipe binutils because it's GPLv3 NOTE: SKIPPING recipe binutils because it's GPLv3######################################### | ETA: 00:00:19 NOTE: SKIPPING recipe make because it's GPLv3 & LGPLv2####################################### | ETA: 00:00:18 NOTE: SKIPPING recipe gcc because it's GPL-3.0-with-GCC-exception & GPLv3######################## | ETA: 00:00:18 NOTE: SKIPPING recipe ccache because it's GPLv3+ NOTE: SKIPPING recipe mtools because it's GPLv3#################################################### | ETA: 00:00:17 NOTE: SKIPPING recipe gdb because it's GPLv2 & GPLv3 & LGPLv2 & LGPLv3############################## | ETA: 00:00:17 NOTE: SKIPPING recipe lttng-control because it's GPLv3############################################################## | ETA: 00:00:12 NOTE: SKIPPING recipe grub because it's GPLv3################################################################################## | ETA: 00:00:09 Parsing recipes: 100% |##################################################################################################################################################| Time: 00:00:35 Parsing of 814 .bb files complete (0 cached, 814 parsed). 1120 targets, 68 skipped, 0 masked, 0 errors. Build Configuration: BB_VERSION = "1.17.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-11.10" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20121227" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be rerun and all succeeded. Loading cache: 100% |####################################################################################################################################################| ETA: 00:00:00 Loaded 1121 entries from dependency cache. Build Configuration: BB_VERSION = "1.17.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-11.10" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20121227" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: validating kernel configuration NOTE: [kconfig] clean configuration. No Warnings or Errors found. WARNING: The recipe coreutils-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/bin/kill Matched in manifest-x86_64-util-linux-native /buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/bin/groups Matched in manifest-x86_64-shadow-native Please verify which package should provide the above files. ERROR: Function failed: do_compile (see /buildarea1/yzhao1/poky-build/build-gplv3/tmp/work/i586-poky-linux/bash/3.2.48-r11/temp/log.do_compile.27372 for further information) ERROR: Logfile of failure stored in: /buildarea1/yzhao1/poky-build/build-gplv3/tmp/work/i586-poky-linux/bash/3.2.48-r11/temp/log.do_compile.27372 Log data follows: | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make | bison -y -d ./parse.y | conflicts: 1 shift/reduce | touch parser-built | rm -f mksyntax | gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-poky-linux-gnu"' -DCONF_VENDOR='"poky"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DCROSS_COMPILING -o mksyntax ./mksyntax.c | rm -f syntax.c | ./mksyntax -o syntax.c | /bin/sh ./support/mkversion.sh -b -S . -s release -d 3.2 -o newversion.h \ | && mv newversion.h version.h | gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-poky-linux-gnu"' -DCONF_VENDOR='"poky"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DCROSS_COMPILING -DBUILDTOOL -c -o buildversion.o ./version.c | gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-poky-linux-gnu"' -DCONF_VENDOR='"poky"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DCROSS_COMPILING -o bashversion ./support/bashversion.c buildversion.o | ./support/bashversion.c: In function 'main': | ./support/bashversion.c:138:5: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat] | | *********************************************************** | * * | * GNU bash, version 3.2.51(1)-release (i586-poky-linux-gnu) | * * | *********************************************************** | | rm -f shell.o | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/qemux86 -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-poky-linux-gnu"' -DCONF_VENDOR='"poky"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -pipe -g -feliminate-unused-debug-types -c shell.c | rm -f eval.o | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/qemux86 -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i586"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i586-poky-linux-gnu"' -DCONF_VENDOR='"poky"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -pipe -g -feliminate-unused-debug-types -c eval.c | make[1]: Entering directory `/buildarea1/yzhao1/poky-build/build-gplv3/tmp/work/i586-poky-linux/bash/3.2.48-r11/bash-3.2.48/builtins' | rm -f mkbuiltins.o | gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -isystem/buildarea1/yzhao1/poky-build/build-gplv3/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -DCROSS_COMPILING mkbuiltins.c | gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -rdynamic -O2 -pipe -g -feliminate-unused-debug-types -o mkbuiltins mkbuiltins.o -ldl | mkbuiltins.o: In function `extract_info': | mkbuiltins.c:(.text+0x16d6): undefined reference to `xopen' | mkbuiltins.c:(.text+0x1703): undefined reference to `xread' | collect2: ld returned 1 exit status | make[1]: *** [mkbuiltins] Error 1 | make[1]: Leaving directory `/buildarea1/yzhao1/poky-build/build-gplv3/tmp/work/i586-poky-linux/bash/3.2.48-r11/bash-3.2.48/builtins' | make: *** [builtins/builtext.h] Error 1 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /buildarea1/yzhao1/poky-build/build-gplv3/tmp/work/i586-poky-linux/bash/3.2.48-r11/temp/log.do_compile.27372 for further information) ERROR: Task 1329 (/buildarea1/yzhao1/poky-build/meta/recipes-extended/bash/bash_3.2.48.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 1676 tasks of which 198 didn't need to be rerun and 1 failed. No currently running tasks (1676 of 2836) Summary: 1 task failed: /buildarea1/yzhao1/poky-build/meta/recipes-extended/bash/bash_3.2.48.bb, do_compile Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ################ I noticed this build was green on autobuilder. The difference is the host: this issue happened on ubuntu 11.10 and 12.04.
Created attachment 993 [details] log.do_compile Here is the log.do_compile
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=181e76c4b9832acbc03fe7cee862af06674c3f70
no such error on: git info: 66f4c8a674d9f8db958b13866af4d63ab8cbcd44 git branch: poky/master