Bug 1498 - [multilib] lib64 build against qemux86 failed during do_rootfs
Summary: [multilib] lib64 build against qemux86 failed during do_rootfs
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High normal
Target Milestone: 1.1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-09-20 05:43 UTC by Jiajun Xu
Modified: 2011-10-08 01:43 UTC (History)
5 users (show)

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


Attachments
build log (82.70 KB, text/plain)
2011-09-20 05:45 UTC, Jiajun Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-09-20 05:43:53 UTC
tree/branch: poky/1.1_M4
commit: 6462c158fc482e495c1171ffc7747e2ad650a292

With 1.1 M4 branch, if I set machine to qemux86 and build lib64 sato image with rpm, yocto will report several packages build failed.


########
.....
ERROR: Function 'do_compile' failed (see /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0/temp/log.do_compile.15125 for further information)
ERROR: Logfile of failure stored in: /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0/temp/log.do_compile.15125
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
| ERROR: Function 'do_compile' failed (see /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0/temp/log.do_compile.15125 for further information)
| NOTE: make -j 9
| make  all-am
| make[1]: Entering directory `/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0/git'
| i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86 -DHAVE_CONFIG_H -I.    -Wall -O2 -pipe -g -feliminate-unused-debug-types -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
| main.c:19:21: fatal error: gtk/gtk.h: No such file or directory
| compilation terminated.
| make[1]: *** [main.o] Error 1
| make[1]: Leaving directory `/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0/git'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package lib64-matchbox-terminal-0.0+git1+3fc25cb811a8ed306de897edf9b930f4402f3852-r0: task do_compile: Failed
ERROR: Task 1338 (virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb, do_compile) failed with exit code '1'
.....
.....
ERROR: Logfile of failure stored in: /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/temp/log.do_configure.15127
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.11
| NOTE: Executing glib-gettextize --force --copy
| Copying file mkinstalldirs
| Copying file po/Makefile.in.in
|
| Please add the files
|   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
|   progtest.m4
| from the /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal directory to your autoconf macro directory
| or directly to your aclocal.m4 file.
| You will also need config.guess and config.sub, which you can get from
| ftp://ftp.gnu.org/pub/gnu/config/.
|
| NOTE: Executing intltoolize --copy --force --automake
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ -I/home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ -I /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ -I /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 -I /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ --force --warnings=cross
| aclocal: unknown warning category `cross'
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: not using Libtool
| autoreconf: running: /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/autoconf --include=/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ --include=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 --include=/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ --force --warnings=cross
| autoreconf: running: /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/autoheader --include=/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ --include=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/share/aclocal-1.11 --include=/home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/leafpad-0.8.18.1/aclocal-copy/ --force --warnings=cross
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross'
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
.......
.......
| checking dependency style of i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86... gcc3
| checking for intltool-update... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/intltool-update
| checking for intltool-merge... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/intltool-merge
| checking for intltool-extract... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/intltool-extract
| checking for xgettext... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/xgettext
| checking for msgmerge... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/msgmerge
| checking for msgfmt... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/msgfmt
| checking for gmsgfmt... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/msgfmt
| checking for perl... /usr/bin/perl
| checking for perl >= 5.8.1... 5.10.1
| checking for i586-pokymllib64-linux-gcc... (cached) i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86
| checking whether we are using the GNU C compiler... (cached) yes
| checking whether i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86 accepts -g... (cached) yes
| checking for i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86 option to accept ISO C89... (cached) none needed
| checking dependency style of i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86... (cached) gcc3
| checking whether i586-pokymllib64-linux-gcc  -m32   -march=i586 --sysroot=/home/jxu49/osel/poky-rc2/build/tmp/sysroots/lib64-qemux86 and cc understand -c and -o together... yes
| checking for i586-pokymllib64-linux-pkg-config... no
| checking fERROR: Function 'do_configure' failed (see /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-leafpad-0.8.18.1-r1/temp/log.do_configure.15127 for further information)
| or pkg-config... /home/jxu49/osel/poky-rc2/build/tmp/sysroots/i686-linux/usr/bin/pkg-config
| configure: WARNING: using cross tools not prefixed with host triplet
| checking pkg-config is at least version 0.9.0... yes
| checking for GTK... no
| configure: error: Package requirements (gtk+-2.0) were not met:
|
| No package 'gtk+-2.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables GTK_CFLAGS
| and GTK_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| ERROR: oe_runconf failed
NOTE: package lib64-leafpad-0.8.18.1-r1: task do_configure: Failed
ERROR: Task 1317 (virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb, do_configure) failed with exit code '1'
ERROR: Function 'do_configure' failed (see /home/jxu49/osel/poky-rc2/build/tmp/work/i586-pokymllib64-linux/lib64-connman-gnome-0.5-r7/temp/log.do_configure.15129 for further information)
......
.....
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb' failed
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb' failed
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-connectivity/connman/connman-gnome_0.5.bb' failed
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/screenshot/screenshot_git.bb' failed
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/pcmanfm/pcmanfm_0.9.8.bb' failed
ERROR: 'virtual:multilib:lib64:/home/jxu49/osel/poky-rc2/meta/recipes-sato/puzzles/oh-puzzles_git.bb' failed
.....
########
Comment 1 Jiajun Xu 2011-09-20 05:45:26 UTC
Created attachment 242 [details]
build log
Comment 2 Jiajun Xu 2011-09-20 08:53:29 UTC
Similar issue will be met with qemux86-64 also.
Comment 3 Richard Purdie 2011-09-21 17:52:20 UTC
Jiajun: Could you include the local.conf settings you're using for this build and what target you're building please?
Comment 4 Jiajun Xu 2011-09-22 06:23:57 UTC
I re-test 1.1 M4 with following configure again, it also fails at do_rootfs for
image.
###
Target: lib64-core-image-sato:
MACHINE: qemux86
require conf/multilib.conf
MULTILIBS = "multilib:lib64"
DEFAULTTUNE_virtclass-multilib-lib64 = "x86-64"
###

#######
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 5507 of 5509 (ID: 8, virtual:multilib:lib64:/home/build/osel/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs)
NOTE: package lib64-core-image-sato-1.0-r0: task do_rootfs: Started
ERROR: Function 'do_rootfs' failed (see /home/build/osel/poky/lib64-core-image-qemux86/tmp/work/qemux86-pokymllib64-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.20436 for further information)
ERROR: Logfile of failure stored in: /home/build/osel/poky/lib64-core-image-qemux86/tmp/work/qemux86-pokymllib64-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.20436
Log data follows:
| Generating solve db for /home/build/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/qemux86...
|    total:               1      0.000000 MB      3.335052 secs
|    fingerprint:      1176      0.007038 MB      0.025617 secs
|    install:           392      0.000000 MB      0.459212 secs
|    dbadd:             392      0.000000 MB      0.448801 secs
|    dbget:            2193      0.000000 MB      0.004586 secs
|    dbput:             392      1.851980 MB      0.382018 secs
|    readhdr:          3921      3.637304 MB      2.169323 secs
|    hdrload:          1960      5.401380 MB      0.012200 secs
|    hdrget:          67441      0.000000 MB      0.066624 secs
| Generating solve db for /home/build/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.312957 secs
|    fingerprint:        96      0.003280 MB      0.004396 secs
|    install:            32      0.000000 MB      0.064610 secs
|    dbadd:              32      0.000000 MB      0.061928 secs
|    dbget:             593      0.000000 MB      0.000719 secs
|    dbput:              32      0.265224 MB      0.036960 secs
|    readhdr:           321      0.527312 MB      0.178912 secs
|    hdrload:           163      0.793492 MB      0.001139 secs
|    hdrget:           5283      0.000000 MB      0.006264 secs
| Generating solve db for /home/build/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/qemux86...
|    total:               1      0.000000 MB      0.749343 secs
|    fingerprint:      1176      0.007038 MB      0.024273 secs
|    install:           392      0.000000 MB      0.405899 secs
|    dbadd:             392      0.000000 MB      0.396813 secs
|    dbget:            2193      0.000000 MB      0.004104 secs
|    dbput:             392      1.851980 MB      0.340632 secs
|    readhdr:          3921      3.637304 MB      0.005400 secs
|    hdrload:          1960      5.401380 MB      0.008251 secs
|    hdrget:          67441      0.000000 MB      0.046116 secs
| Generating solve db for /home/build/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.103657 secs
|    fingerprint:        96      0.003280 MB      0.004131 secs
|    install:            32      0.000000 MB      0.047689 secs
|    dbadd:              32      0.000000 MB      0.045171 secs
|    dbget:             593      0.000000 MB      0.000664 secs
|    dbput:              32      0.265224 MB      0.026996 secs
|    readhdr:           321      0.527312 MB      0.000558 secs
|    hdrload:           163      0.793492 MB      0.000675 secs
|    hdrget:           5283      0.000000 MB      0.004187 secs
| Generating solve db for /home/build/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/all...
|    total:               1      0.000000 MB      0.120428 secs
|    fingerprint:        96      0.003280 MB      0.004179 secs
|    install:            32      0.000000 MB      0.066428 secs
|    dbadd:              32      0.000000 MB      0.063931 secs
|    dbget:             593      0.000000 MB      0.000737 secs
|    dbput:              32      0.265224 MB      0.040064 secs
|    readhdr:           321      0.527312 MB      0.000641 secs
|    hdrload:           163      0.793492 MB      0.000903 secs
|    hdrget:           5283      0.000000 MB      0.005343 secs
| Processing locale-base-en-us...
| Unable to find package locale-base-en-us (locale-base-en-us)!
| ERROR: Function 'do_rootfs' failed (see /home/build/osel/poky/lib64-core-image-qemux86/tmp/work/qemux86-pokymllib64-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.20436 for further information)
NOTE: package lib64-core-image-sato-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (virtual:multilib:lib64:/home/build/osel/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
ERROR: 'virtual:multilib:lib64:/home/build/osel/poky/meta/recipes-sato/images/core-image-sato.bb' failed
#######
Comment 5 Jiajun Xu 2011-09-26 18:09:39 UTC
With edison branch, lib64 build against qemux86 still fails during do_rootfs:

commit: 41c564fe605fa4685fd27b1721e3424ac8a96db1

####
Generating solve db for /home/jxu49/osel/poky/lib64-core-image-qemux86/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.130216 secs
   fingerprint:        96      0.003280 MB      0.004733 secs
   install:            32      0.000000 MB      0.069866 secs
   dbadd:              32      0.000000 MB      0.066951 secs
   dbget:             593      0.000000 MB      0.000245 secs
   dbput:              32      0.262388 MB      0.038446 secs
   readhdr:           321      0.524712 MB      0.000541 secs
   hdrload:           160      0.779836 MB      0.001237 secs
   hdrget:           5288      0.000000 MB      0.002315 secs
Processing locale-base-en-us...
Processing locale-base-en-gb...
Manifest: /home/jxu49/osel/poky/lib64-core-image-qemux86/tmp/work/qemux86-poky-linux/lib64-core-image-sato-1.0-r0/rootfs/install/install.manifest
Processing lib64-task-core-boot...
Unable to find package lib64-task-core-boot (task-core-boot)!
ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky/lib64-core-image-qemux86/tmp/work/qemux86-poky-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.26348 for further information)
####
Comment 7 Dongxiao Xu 2011-09-28 18:13:19 UTC
Forgot to mark it as fixed.
Comment 8 Jiajun Xu 2011-10-08 01:43:49 UTC
Verify the bug as fixed against edison branch.

commit 5ed59ae0f25bf673d514df2371da7e0415b62bb2
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Oct 7 00:00:21 2011 +0100

    local.conf.sample: Disable interactive patch resolution for now since
doesn't work well

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>