<?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>950</bug_id>
          
          <creation_ts>2011-04-04 13:16:46 +0000</creation_ts>
          <short_desc>meta-toolchain-sdk build failure</short_desc>
          <delta_ts>2011-08-05 07:40:10 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.0-alpha</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>13120</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-04-04 13:16:46 +0000</bug_when>
    <thetext>I build a poky-image-lsb-sdk (succeeds) followed by a meta-toolchain-sdk(fails)

commit bcc817ee058bbab91d6e88a3e1e867a4ff09aeca
Thu Mar 31 13:31:27 2011

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;latest-2011-04-02_LOCAL&quot;
METADATA_REVISION = &quot;bcc817ee058bbab91d6e88a3e1e867a4ff09aeca&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110404&quot;
TARGET_FPU        = &quot;soft&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 665 of 3651 (ID: 3262, /work/rber/poky/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb, do_compile)
NOTE: package gcc-crosssdk-initial-4.5.1-r4: task do_compile: Started
ERROR: Function &apos;do_compile&apos; failed (see /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/temp/log.do_compile.10771 for further information)
ERROR: Logfile of failure stored in: /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/temp/log.do_compile.10771
Log data follows:
| NOTE: make ARCH_FLAGS_FOR_TARGET= -isystem/work/rber/poky-latest-build-bb/tmp/sysroots/i686-nativesdk-pokysdk-linux/opt/poky/1.0+snapshot/sysroots/i686-pokysdk-linux${includedir_nativesdk}
| make[1]: Entering directory `/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/build.i686-linux.i686-pokysdk-linux&apos;
| make[2]: Entering directory `/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/build.i686-linux.i686-pokysdk-linux/libiberty&apos;
| if [ x&quot;&quot; != x ]; then \
| 	  gcc -c -DHAVE_CONFIG_H -isystem/work/rber/poky-latest-build-bb/tmp/sysroots/i686-linux/usr/include -O2 -pipe  -I. -I/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/../include  -W -Wwrite-strings  /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c -o pic/fibheap.o; \
| 	else true; fi
| gcc -c -DHAVE_CONFIG_H -isystem/work/rber/poky-latest-build-bb/tmp/sysroots/i686-linux/usr/include -O2 -pipe  -I. -I/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/../include  -W -Wwrite-strings /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c -o fibheap.o
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c: In function &apos;fibheap_replace_key_data&apos;:
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c:220: error: &apos;LONG_MIN&apos; undeclared (first use in this function)
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c:220: error: (Each undeclared identifier is reported only once
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c:220: error: for each function it appears in.)
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c: In function &apos;fibheap_delete_node&apos;:
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c:261: error: &apos;LONG_MIN&apos; undeclared (first use in this function)
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c: In function &apos;fibheap_consolidate&apos;:
| /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/libiberty/fibheap.c:368: warning: incompatible implicit declaration of built-in function &apos;memset&apos;
| make[2]: *** [fibheap.o] Error 1
| make[2]: Leaving directory `/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/gcc-4.5.1/build.i686-linux.i686-pokysdk-linux/libiberty&apos;
| make[1]: *** [all-libiberty] Error 2
| ERROR: Function &apos;do_compile&apos; failed (see /work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk-linux/gcc-crosssdk-initial-4.5.1-r4/temp/log.do_compile.10771 for further information)
| make[1]: Leaving directory `/work/rber/poky-latest-build-bb/tmp/work/i686-pokysdk
NOTE: package gcc-crosssdk-initial-4.5.1-r4: task do_compile: Failed
ERROR: Task 3262 (/work/rber/poky/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb, do_compile) failed with exit code &apos;1&apos;
NOTE: Running noexec task 2251 of 3651 (ID: 1211, virtual:nativesdk:/work/rber/poky/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_2.6.37.2.bb, do_package_write)
NOTE: Running task 2252 of 3651 (ID: 1178, /work/rber/poky/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb, do_package_write_rpm)
NOTE: package binutils-crosssdk-2.21-r0: task do_package_write_rpm: Started
NOTE: package binutils-crosssdk-2.21-r0: task do_package_write_rpm: Succeeded
NOTE: Running noexec task 2253 of 3651 (ID: 1175, /work/rber/poky/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb, do_package_write)
NOTE: Running task 2433 of 3651 (ID: 927, virtual:nativesdk:/work/rber/poky/meta/recipes-devtools/qemu/qemu_0.14.0.bb, do_patch)
NOTE: package qemu-nativesdk-0.14.0-r0: task do_patch: Started
ERROR: Cannot proceed with manual patch resolution - &apos;gnome-terminal --disable-factory -t &quot;$TERMWINDOWTITLE&quot; -x $SHELLCMDS&apos; not found. Check TERMCMDRUN variable.
ERROR: Function &apos;patch_do_patch&apos; failed
ERROR: Logfile of failure stored in: /work/rber/poky-latest-build-bb/tmp/work/i686-nativesdk-pokysdk-linux/qemu-nativesdk-0.14.0-r0/temp/log.do_patch.10830
Log data follows:
| NOTE: Applying patch &apos;qemu-git-qemugl-host.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/qemu-git-qemugl-host.patch)
| NOTE: Applying patch &apos;no-strip.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/no-strip.patch)
| NOTE: Applying patch &apos;fix-nogl.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/fix-nogl.patch)
| NOTE: Applying patch &apos;qemugl-allow-glxcontext-release.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/qemugl-allow-glxcontext-release.patch)
| NOTE: Applying patch &apos;linker-flags.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/linker-flags.patch)
| NOTE: Applying patch &apos;init-info.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/init-info.patch)
| NOTE: Applying patch &apos;qemu-vmware-vga-depth.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/qemu-vmware-vga-depth.patch)
| NOTE: Applying patch &apos;enable-i386-linux-user.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/enable-i386-linux-user.patch)
| NOTE: Applying patch &apos;fix-configure-checks.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/fix-configure-checks.patch)
| NOTE: Applying patch &apos;fallback-to-safe-mmap_min_addr.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/fallback-to-safe-mmap_min_addr.patch)
| NOTE: Applying patch &apos;spice-qxl-locking-fix-for-qemu-kvm.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/spice-qxl-locking-fix-for-qemu-kvm.patch)
| NOTE: Applying patch &apos;Detect-and-use-GCC-atomic-builtins-for-locking.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch)
| NOTE: Applying patch &apos;larger_default_ram_size.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/larger_default_ram_size.patch)
| NOTE: Applying patch &apos;glflags.patch&apos; (../poky/meta/recipes-devtools/qemu/qemu-0.14.0/glflags.patch)
| Failed to summon the GConf demon; exiting.  Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Command line `dbus-launch --autolaunch=acf555838e8a1e87f5fdcc7400000003 --binary-syntax --close-stderr&apos; exited with non-zero exit status 1: Autolaunch requested, but X11 support not compiled in.\nCannot continue.\n)
| ERROR: Cannot proceed with manual patch resolution - &apos;gnome-terminal --disable-factory -t &quot;$TERMWINDOWTITLE&quot; -x $SHELLCMDS&apos; not found. Check TERMCMDRUN variable.
| ERROR: Function &apos;patch_do_patch&apos; failed
NOTE: package qemu-nativesdk-0.14.0-r0: task do_patch: Failed
ERROR: Task 927 (virtual:nativesdk:/work/rber/poky/meta/recipes-devtools/qemu/qemu_0.14.0.bb, do_patch) failed with exit code &apos;1&apos;
NOTE: Running task 2714 of 3651 (ID: 1042, /work/rber/poky/meta/recipes-core/meta/meta-environment.bb, do_generate_content)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13130</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-04-05 02:57:58 +0000</bug_when>
    <thetext>also with commit f897723207b00b4c9dcdb43107891b7b82ce22f3
Tue Mar 29 12:55:18 2011 -0700

meta-toolchain-sdk does __NOT__ build for beagleboard and routerstation pro</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13137</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-04-05 20:55:40 +0000</bug_when>
    <thetext>http://permalink.gmane.org/gmane.linux.embedded.poky/5075 improves things

It should be on the master branch in the meantime:
http://permalink.gmane.org/gmane.linux.embedded.poky/5122 

I&apos;ll try again with a new git pull from master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13621</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-05-06 14:20:25 +0000</bug_when>
    <thetext>How is this looking with master now? Could you report the current status please as it seems some issues should have been fixed at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15257</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-08-05 07:40:10 +0000</bug_when>
    <thetext>I think all the issues mentioned here have been resolved. If there are any problems you can reproduce against master, please reopen or file a new bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>