Bug 2156 - git-native rebuild fails
Summary: git-native rebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: (1.2) patch review 30%
Depends on:
Blocks: 2194
  Show dependency tree
 
Reported: 2012-03-22 18:33 UTC by Denys Dmytriyenko
Modified: 2012-04-11 12:32 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Dmytriyenko 2012-03-22 18:33:14 UTC
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'
Comment 1 Robert Yang 2012-04-05 03:41:48 UTC
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
Comment 2 Richard Purdie 2012-04-06 14:46:30 UTC
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.
Comment 3 Paul Eggleton 2012-04-11 12:32:23 UTC
Fixed in revision b0550403d4e499a6c165c03825d3e4f9e2a750ad.