Bug 2746 - mklibs-native failed to compile fedora17-X86_64
Summary: mklibs-native failed to compile fedora17-X86_64
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.1.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Joshua Lock - Disabled
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-12 08:37 UTC by yilong, sun
Modified: 2012-07-26 20:09 UTC (History)
5 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 yilong, sun 2012-07-12 08:37:17 UTC
With 1.2 M4, Package mklibs-native do compile failed. function '::close' has not been declared

tree/branch: Poky/Edison
commit: 8886aee5b9741c05886994967d9ecf420331c600 

detailed error information as follows:
#################################################################################

Loading cache...done.
Loaded 1040 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1.2"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        = "edison:8886aee5b9741c05886994967d9ecf420331c600"

NOTE: Running task 140 of 1530 (ID: 734, virtual:native:/home/build/distro/poky/meta/recipes-devtools/bison/bison_2.5.bb, do_compile)
NOTE: Running task 255 of 1530 (ID: 268, virtual:native:/home/build/distro/poky/meta/recipes-devtools/elfutils/elfutils_0.148.bb, do_install)
NOTE: Running task 272 of 1530 (ID: 360, virtual:native:/home/build/distro/poky/meta/recipes-support/attr/acl_2.2.51.bb, do_compile)
NOTE: Running task 303 of 1530 (ID: 1159, virtual:native:/home/build/distro/poky/meta/recipes-core/dbus/dbus_1.4.12.bb, do_compile)
NOTE: Running task 527 of 1530 (ID: 1271, /home/build/distro/poky/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb, do_compile)
NOTE: Running task 691 of 1530 (ID: 173, virtual:native:/home/build/distro/poky/meta/recipes-core/util-linux/util-linux_2.19.1.bb, do_compile)
NOTE: Running task 774 of 1530 (ID: 41, /home/build/distro/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.33.bb, do_compile)
NOTE: package bison-native-2.5-r1: task do_compile: Started
NOTE: package elfutils-native-0.148-r3: task do_install: Started
NOTE: package acl-native-2.2.51-r2: task do_compile: Started
NOTE: package dbus-native-1.4.12-r1: task do_compile: Started
NOTE: package mklibs-native-0.1.33-r0: task do_compile: Started
NOTE: package shadow-native-4.1.4.3-r1: task do_compile: Started
NOTE: package util-linux-native-2.19.1-r10: task do_compile: Started
ERROR: Function 'do_compile' failed (see /home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/temp/log.do_compile.19468 for further information)
ERROR: Logfile of failure stored in: /home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/temp/log.do_compile.19468
Log data follows:
| ERROR: Function 'do_compile' failed (see /home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/temp/log.do_compile.19468 for further information)
| NOTE: make -j 8
| make  all-recursive
| make[1]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs'
| Making all in lib
| make[2]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib'
| Making all in mklibs
| make[3]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs'
| Making all in utils
| make[4]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs/utils'
| make[4]: Nothing to be done for `all'.
| make[4]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs/utils'
| make[4]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs'
| make[4]: Nothing to be done for `all-am'.
| make[4]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs'
| make[3]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib/mklibs'
| make[3]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib'
| make[2]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/lib'
| Making all in src
| make[2]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/src'
| Making all in mklibs-readelf
| make[3]: Entering directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/src/mklibs-readelf'
| ccache g++ -DHAVE_CONFIG_H -I. -I../..   -isystem/home/build/distro/poky/test-1.1.1/tmp/sysroots/x86_64-linux/usr/include  -isystem/home/build/distro/poky/test-1.1.1/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -MT elf.o -MD -MP -MF .deps/elf.Tpo -c -o elf.o elf.cpp
| elf.cpp: In static member function 'static Elf::file* Elf::file::open(const char*)':
| elf.cpp:68:5: error: '::close' has not been declared
| make[3]: *** [elf.o] Error 1
| make[3]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/src/mklibs-readelf'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/build/distro/poky/test-1.1.1/tmp/work/x86_64-linux/mklibs-native-0.1.33-r0/mklibs'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package mklibs-native-0.1.33-r0: task do_compile: Failed
ERROR: Task 41 (/home/build/distro/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.33.bb, do_compile) failed with exit code '1'
Waiting for 6 active tasks to finish:
0: bison-native-2.5-r1 do_compile (pid 18626)
1: elfutils-native-0.148-r3 do_install (pid 18627)
2: acl-native-2.2.51-r2 do_compile (pid 18628)
3: dbus-native-1.4.12-r1 do_compile (pid 18629)
4: shadow-native-4.1.4.3-r1 do_compile (pid 18648)
5: util-linux-native-2.19.1-r10 do_compile (pid 19069)
Waiting for 5 active tasks to finish:
0: bison-native-2.5-r1 do_compile (pid 18626)
1: elfutils-native-0.148-r3 do_install (pid 18627)
2: acl-native-2.2.51-r2 do_compile (pid 18628)
3: dbus-native-1.4.12-r1 do_compile (pid 18629)
4: util-linux-native-2.19.1-r10 do_compile (pid 19069)
NOTE: package shadow-native-4.1.4.3-r1: task do_compile: Succeeded
Waiting for 4 active tasks to finish:
0: bison-native-2.5-r1 do_compile (pid 18626)
1: elfutils-native-0.148-r3 do_install (pid 18627)
2: dbus-native-1.4.12-r1 do_compile (pid 18629)
3: util-linux-native-2.19.1-r10 do_compile (pid 19069)
NOTE: package acl-native-2.2.51-r2: task do_compile: Succeeded
Waiting for 3 active tasks to finish:
0: elfutils-native-0.148-r3 do_install (pid 18627)
1: dbus-native-1.4.12-r1 do_compile (pid 18629)
2: util-linux-native-2.19.1-r10 do_compile (pid 19069)
NOTE: package bison-native-2.5-r1: task do_compile: Succeeded
Waiting for 2 active tasks to finish:
0: dbus-native-1.4.12-r1 do_compile (pid 18629)
1: util-linux-native-2.19.1-r10 do_compile (pid 19069)
NOTE: package elfutils-native-0.148-r3: task do_install: Succeeded
Waiting for 1 active tasks to finish:
0: util-linux-native-2.19.1-r10 do_compile (pid 19069)
NOTE: package dbus-native-1.4.12-r1: task do_compile: Succeeded
NOTE: package util-linux-native-2.19.1-r10: task do_compile: Succeeded
ERROR: '/home/build/distro/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.33.bb' failed
Comment 1 Jessica 2012-07-12 14:54:30 UTC
Another multilib issue for 1.1.2 that we won't fix but will release note it
Comment 2 Song Liu 2012-07-26 20:09:24 UTC
This problem is mainly caused by the higher version of gcc (4.7), which Edison does not build with.