Bug 2848

Summary: eglibc_2.15 do_populate_sysroot fails with gcc 4.6.1 (Ubuntu 11.10)
Product: [Build System, Metadata & Runtime] BitBake Reporter: Laurentiu Serban <laurentiu.serban>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, poky.bs.watcher, poky.watcher
Version: 1.3   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
eglibc error none

Description Laurentiu Serban 2012-07-27 13:29:59 UTC
Created attachment 662 [details]
eglibc error

The local.conf is updated with:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = "lib32-connman-gnome"

Running bitbake lib32-connman-gnome returns:


| configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking, --with-libtool-sysroot
| configure: loading cache eglibc_cache
| configure: error: `CFLAGS' has changed since the previous run:
| configure:   former value:  `-I/home/lserban/work/master/build/tmp/sysroots/qemux86-64${layout_includedir} -O2 -pipe -g -feliminate-unused-debug-types -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/site_config_libc -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/site_config_libc -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//usr/lib -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//lib -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//usr/lib -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//lib'
| configure:   current value: `-I/home/lserban/work/master/build/tmp/sysroots/qemux86-64${layout_includedir} -O2 -pipe -g -feliminate-unused-debug-types -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/site_config_libc -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/site_config_libc -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//usr/lib64 -L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//lib64 -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//usr/lib64 -Wl,-L/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/sysroot-destdir//lib64'
| configure: error: in `/home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/site_config_qemux86-64':
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean' and/or `rm eglibc_cache' and start over
| DEBUG: Python function siteconfig_do_siteconfig finished
| DEBUG: Python function autotools_do_siteconfig finished
| DEBUG: Python function do_siteconfig finished
| DEBUG: Python function sstate_task_postfunc finished
| ERROR: Function failed: do_siteconfig_gencache (see /home/lserban/work/master/build/tmp/work/x86_64-poky-linux/eglibc-2.15-r12+svnr19294/temp/log.do_populate_sysroot.6631 for further information)
NOTE: package eglibc-2.15-r12+svnr19294: task do_populate_sysroot: Failed
ERROR: Task 1962 (/home/lserban/work/master/meta/recipes-core/eglibc/eglibc_2.15.bb, do_populate_sysroot) failed with exit code '1'
Waiting for 2 running tasks to finish:
0: lib32-eglibc-2.15-r12+svnr19294 do_populate_sysroot (pid 6642)
1: lib32-eglibc-2.15-r12+svnr19294 do_package (pid 6643)
NOTE: package lib32-eglibc-2.15-r12+svnr19294: task do_populate_sysroot: Succeeded
Waiting for 1 running tasks to finish:
0: lib32-eglibc-2.15-r12+svnr19294 do_package (pid 6643)
NOTE: package lib32-eglibc-2.15-r12+svnr19294: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 1637 tasks of which 1633 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/lserban/work/master/meta/recipes-core/eglibc/eglibc_2.15.bb, do_populate_sysroot
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

The config.log file is attached.
Comment 1 Laurentiu Serban 2012-07-27 14:26:06 UTC
Commit 0ffb02eec2beaea27ff0ec9d3d31b0a09e675a4c
Comment 2 Richard Purdie 2012-07-27 16:51:02 UTC
Was this in a build directory you'd previous run a non-multilib build in or a clean build directory?
Comment 3 Jessica 2012-08-02 14:37:34 UTC
Please see the question from RP
Comment 4 Laurentiu Serban 2012-08-03 20:47:57 UTC
Hello Richard,
Sorry for the late answer:

It was in a directory where previously a non-multilib build was run
Comment 5 Laurentiu Serban 2012-08-13 18:00:47 UTC
Resetting this to previous state