As previously reported on IRC by otavio, I see the same issue (sstate related?), when _rebuilding_ git-native. Clean build works. ERROR: Function failed: do_compile (see /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225 for further information) ERROR: Logfile of failure stored in: /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225 Log data follows: | ERROR: Function failed: do_compile (see /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225 for further information) | NOTE: make -j16 | SUBDIR gitweb | SUBDIR ../ | make[2]: `GIT-VERSION-FILE' is up to date. | GEN git-instaweb | SUBDIR perl | Makefile out-of-date with respect to /OE/build/tmp-eglibc/sysroots/i686-linux/usr/lib/perl-native/perl/5.14.2/Config.pm /OE/build/tmp-eglibc/sysroots/i686-linux/usr/lib/perl-native/perl/5.14.2/CORE/config.h | Cleaning current config before rebuilding Makefile... | make -f perl.mak.old clean > /dev/null 2>&1 | /OE/build/tmp-eglibc/sysroots/i686-linux/usr/bin/perl-native/perl Makefile.PL "PREFIX=/OE/build/tmp-eglibc/sysroots/i686-linux/usr" "INSTALL_BASE=" | Writing perl.mak for Git | Writing MYMETA.yml | ==> Your Makefile has been rebuilt. <== | ==> Please rerun the make command. <== | false | make[2]: *** [perl.mak] Error 1 | make[1]: *** [all] Error 2 | make: *** [all] Error 2 | ERROR: oe_runmake failed NOTE: package git-native-1.7.7-r2: task do_compile: Failed ERROR: Task 37 (virtual:native:/OE/sources/openembedded-core/meta/recipes-devtools/git/git_1.7.7.bb, do_compile) failed with exit code '1'
I tried: bitbake -f git-native -ccompile in the second build, it worked well, would you please tell me more information: 1) which host 2) The detailed reproduce steps
To reproduce this: bitbake git-native bitbake perl-native -c cleansstate bitbake git-native -c compile -f The problem is that rebuilding perl-native, then rebuilding git-native (or perl, then git) causes the build to fail.
Fixed in revision b0550403d4e499a6c165c03825d3e4f9e2a750ad.