Bug 2774 - libgcc configure failed when rebuild within the same build directory due to dirty configuration
Summary: libgcc configure failed when rebuild within the same build directory due to d...
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.2
Hardware: All Multiple
: Medium normal
Target Milestone: 1.2.2
Assignee: Scott Garman
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-17 04:54 UTC by Hongna Xu
Modified: 2012-12-22 19:40 UTC (History)
8 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 Hongna Xu 2012-07-17 04:54:11 UTC
Firstly, build atom-pc sato image, and add layers meta-intel/meta-cedartrail and then build cedartrail sato image, gcc-cross configure failed.
the log are:
*******************************
| configure: error: in `/home/build/git-work/1.3M2rc1/hob/poky/build/tmp/work/core2-poky-linux/gcc-cross-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.i586-poky-linux/i586-poky-linux/libgcc':
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm ./config.cache' and start over
| make: *** [configure-target-libgcc] Error 1
| ERROR: oe_runmake failed
NOTE: package gcc-cross-4.6.3+svnr184847-r25: task do_compile: Failed
ERROR: Task 659 (/home/build/git-work/1.3M2rc1/hob/poky/meta/recipes-devtools/gcc/gcc-cross_4.6.bb, do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: eglibc-locale-2.13-r20 do_package (pid 31909)
NOTE: package eglibc-locale-2.13-r20: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 2879 tasks of which 2701 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/build/git-work/1.3M2rc1/hob/poky/meta/recipes-devtools/gcc/gcc-cross_4.6.bb, do_compile
Summary: There were 7 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
********************************
reproduce steps:
1.git clone git://git.yoctoproject.org/poky
2.In poky directory, run “git checkout denzil”
3.git clone git://git.yoctoproject.org/meta-intel
4.in meta-intel directory, run “git checkout denzil”
5.in poky directory, run “source oe-init-build-env”
6.build machine set as atom-pc and build “core-image-sato”. build success
7.then add “mata-intel” and “mata-cetratrail” layers
8.add NF_VERSION = "1" LICENSE_FLAGS_WHITELIST = "license_cdv-pvr-driver_1.0" to conf/local.conf  
9.build “core-image-sato”, using the same directory with step 5.
10.error occurs
Comment 1 Hongna Xu 2012-07-17 05:09:48 UTC
in reproduce step 8, modify the MACHINE = "cedartrail", the key point is that two buildings with two different BSPs in the same build dir.

with shane's investigation and he suggested add layers first and then build sato.
Comment 2 Saul Wold 2012-07-17 21:58:36 UTC
Is this with Denzil or 1.3 M2?
Comment 3 Hongna Xu 2012-07-18 01:02:11 UTC
(In reply to comment #2)
> Is this with Denzil or 1.3 M2?

poky/denzil:73cdebf60df225ee10f2eb215935be3b61e1b831
meta-intel/denzil: 2552a046878e4352595f6e081ad371538cceda10
Comment 4 Alexandru Georgescu 2012-08-16 11:01:28 UTC
Saul, Hogna: Do we have any updates regarding this issue?

Thanks,
Alex.
Comment 5 Richard Purdie 2012-09-13 13:01:59 UTC
Resolved with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8b9b1ab42e6e3226fc06818ec3dd186b6f81acad in master. Reassigning to Scott to track for Denzil.
Comment 6 Scott Garman 2012-12-22 19:40:59 UTC
Fixed in oe-core and poky denzil branches as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=denzil&id=241653a01ba98426cc0551ff4210e1f8eb28abdb