<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2746</bug_id>
          
          <creation_ts>2012-07-12 08:37:17 +0000</creation_ts>
          <short_desc>mklibs-native failed to compile fedora17-X86_64</short_desc>
          <delta_ts>2012-07-26 20:09:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yilong, sun">yilongx.y.sun</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23036</commentid>
    <comment_count>0</comment_count>
    <who name="yilong, sun">yilongx.y.sun</who>
    <bug_when>2012-07-12 08:37:17 +0000</bug_when>
    <thetext>With 1.2 M4, Package mklibs-native do compile failed. function &apos;::close&apos; 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        = &quot;1.13.3&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.1.2&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        = &quot;edison:8886aee5b9741c05886994967d9ecf420331c600&quot;

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 &apos;do_compile&apos; 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 &apos;do_compile&apos; 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&apos;
| 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&apos;
| 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&apos;
| 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&apos;
| make[4]: Nothing to be done for `all&apos;.
| 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&apos;
| 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&apos;
| make[4]: Nothing to be done for `all-am&apos;.
| 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&apos;
| 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&apos;
| 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&apos;
| make[3]: Nothing to be done for `all-am&apos;.
| 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&apos;
| 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&apos;
| 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&apos;
| 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&apos;
| 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 &apos;static Elf::file* Elf::file::open(const char*)&apos;:
| elf.cpp:68:5: error: &apos;::close&apos; 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&apos;
| 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&apos;
| 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&apos;
| 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 &apos;1&apos;
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: &apos;/home/build/distro/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.33.bb&apos; failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23059</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-12 14:54:30 +0000</bug_when>
    <thetext>Another multilib issue for 1.1.2 that we won&apos;t fix but will release note it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23538</commentid>
    <comment_count>2</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2012-07-26 20:09:24 +0000</bug_when>
    <thetext>This problem is mainly caused by the higher version of gcc (4.7), which Edison does not build with.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>