<?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>554</bug_id>
          
          <creation_ts>2010-11-29 17:09:18 +0000</creation_ts>
          <short_desc>Can&apos;t build meta-toolchain-sdk as libart-lgpl_2.3.21.bb fails on unpack</short_desc>
          <delta_ts>2010-12-21 06:07:08 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</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.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gary Thomas">gary</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>10961</commentid>
    <comment_count>0</comment_count>
      <attachid>72</attachid>
    <who name="Gary Thomas">gary</who>
    <bug_when>2010-11-29 17:09:18 +0000</bug_when>
    <thetext>Created attachment 72
Patch to add PowerPC config file

Fails for PowerPC targets

This target is currently broken, at least for PowerPC:

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;local_master&quot;
METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
TARGET_ARCH       = &quot;powerpc&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemuppc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
TARGET_FPU        = &quot;&quot;

The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
because of a missing configuration file for PowerPC architecture.

The attached patch fixes this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10977</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-01 20:58:15 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Created attachment 72 [details]
&gt; Patch to add PowerPC config file
&gt; Fails for PowerPC targets
&gt; This target is currently broken, at least for PowerPC:
&gt; OE Build Configuration:
&gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; METADATA_BRANCH   = &quot;local_master&quot;
&gt; METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
&gt; TARGET_ARCH       = &quot;powerpc&quot;
&gt; TARGET_OS         = &quot;linux&quot;
&gt; MACHINE           = &quot;qemuppc&quot;
&gt; DISTRO            = &quot;poky&quot;
&gt; DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
&gt; TARGET_FPU        = &quot;&quot;
&gt; The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
&gt; because of a missing configuration file for PowerPC architecture.
&gt; The attached patch fixes this
I think the description is incorrect here. It&apos;s not libsndfile1 that has the missing config file for ppc. It&apos;s libart-lgpl_2.3.21.bb.

However, Gary&apos;s fix (attachment 72) is good, I think.
I also see Gary sent the fix to poky mailing list for 3+ days, but not accepted into poky.git and poky-contrib.git yet. I&apos;ll ack the fix in the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10979</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-01 21:00:20 +0000</bug_when>
    <thetext>*** Bug 556 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10980</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-01 21:08:31 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; (In reply to comment #0)
&gt; &gt; Created attachment 72 [details] [details]
&gt; &gt; Patch to add PowerPC config file
&gt; &gt; Fails for PowerPC targets
&gt; &gt; This target is currently broken, at least for PowerPC:
&gt; &gt; OE Build Configuration:
&gt; &gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; &gt; METADATA_BRANCH   = &quot;local_master&quot;
&gt; &gt; METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
&gt; &gt; TARGET_ARCH       = &quot;powerpc&quot;
&gt; &gt; TARGET_OS         = &quot;linux&quot;
&gt; &gt; MACHINE           = &quot;qemuppc&quot;
&gt; &gt; DISTRO            = &quot;poky&quot;
&gt; &gt; DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
&gt; &gt; TARGET_FPU        = &quot;&quot;
&gt; &gt; The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
&gt; &gt; because of a missing configuration file for PowerPC architecture.
&gt; &gt; The attached patch fixes this
&gt; I think the description is incorrect here. It&apos;s not libsndfile1 that has the
&gt; missing config file for ppc. It&apos;s libart-lgpl_2.3.21.bb.
&gt; However, Gary&apos;s fix (attachment 72 [details]) is good, I think.
&gt; I also see Gary sent the fix to poky mailing list for 3+ days, but not accepted
&gt; into poky.git and poky-contrib.git yet. I&apos;ll ack the fix in the mailing list.

in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
ART_CONFIG = &quot;${HOST_ARCH}/art_config.h&quot;
and 
SRC_URI refers to {ART_CONFIG}.

But 
$ find meta* -name art_config.h
meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h

So I think &quot;bitbake libart-lgpl&quot; will also fail on qemumips and qemux86-64? 
Hi Gary, could you please also supply a fix for them? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10981</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-01 21:30:24 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #1)
&gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; Created attachment 72 [details] [details] [details]
&gt; &gt; &gt; Patch to add PowerPC config file
&gt; &gt; &gt; Fails for PowerPC targets
&gt; &gt; &gt; This target is currently broken, at least for PowerPC:
&gt; &gt; &gt; OE Build Configuration:
&gt; &gt; &gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; &gt; &gt; METADATA_BRANCH   = &quot;local_master&quot;
&gt; &gt; &gt; METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
&gt; &gt; &gt; TARGET_ARCH       = &quot;powerpc&quot;
&gt; &gt; &gt; TARGET_OS         = &quot;linux&quot;
&gt; &gt; &gt; MACHINE           = &quot;qemuppc&quot;
&gt; &gt; &gt; DISTRO            = &quot;poky&quot;
&gt; &gt; &gt; DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
&gt; &gt; &gt; TARGET_FPU        = &quot;&quot;
&gt; &gt; &gt; The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
&gt; &gt; &gt; because of a missing configuration file for PowerPC architecture.
&gt; &gt; &gt; The attached patch fixes this
&gt; &gt; I think the description is incorrect here. It&apos;s not libsndfile1 that has the
&gt; &gt; missing config file for ppc. It&apos;s libart-lgpl_2.3.21.bb.
&gt; &gt; However, Gary&apos;s fix (attachment 72 [details] [details]) is good, I think.
&gt; &gt; I also see Gary sent the fix to poky mailing list for 3+ days, but not accepted
&gt; &gt; into poky.git and poky-contrib.git yet. I&apos;ll ack the fix in the mailing list.
&gt; in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
&gt; ART_CONFIG = &quot;${HOST_ARCH}/art_config.h&quot;
&gt; and 
&gt; SRC_URI refers to {ART_CONFIG}.
&gt; But 
&gt; $ find meta* -name art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h
&gt; So I think &quot;bitbake libart-lgpl&quot; will also fail on qemumips and qemux86-64? 
&gt; Hi Gary, could you please also supply a fix for them? Thanks!
BTW: please put a &quot;[BUGID #554]&quot; in the git commit&apos;s description so we can track bug more easily. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11004</commentid>
    <comment_count>5</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-05 21:51:06 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #1)
&gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; Created attachment 72 [details] [details] [details]
&gt; &gt; &gt; Patch to add PowerPC config file
&gt; &gt; &gt; Fails for PowerPC targets
&gt; &gt; &gt; This target is currently broken, at least for PowerPC:
&gt; &gt; &gt; OE Build Configuration:
&gt; &gt; &gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; &gt; &gt; METADATA_BRANCH   = &quot;local_master&quot;
&gt; &gt; &gt; METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
&gt; &gt; &gt; TARGET_ARCH       = &quot;powerpc&quot;
&gt; &gt; &gt; TARGET_OS         = &quot;linux&quot;
&gt; &gt; &gt; MACHINE           = &quot;qemuppc&quot;
&gt; &gt; &gt; DISTRO            = &quot;poky&quot;
&gt; &gt; &gt; DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
&gt; &gt; &gt; TARGET_FPU        = &quot;&quot;
&gt; &gt; &gt; The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
&gt; &gt; &gt; because of a missing configuration file for PowerPC architecture.
&gt; &gt; &gt; The attached patch fixes this
&gt; &gt; I think the description is incorrect here. It&apos;s not libsndfile1 that has the
&gt; &gt; missing config file for ppc. It&apos;s libart-lgpl_2.3.21.bb.
&gt; &gt; However, Gary&apos;s fix (attachment 72 [details] [details]) is good, I think.
&gt; &gt; I also see Gary sent the fix to poky mailing list for 3+ days, but not accepted
&gt; &gt; into poky.git and poky-contrib.git yet. I&apos;ll ack the fix in the mailing list.
&gt; in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
&gt; ART_CONFIG = &quot;${HOST_ARCH}/art_config.h&quot;
&gt; and 
&gt; SRC_URI refers to {ART_CONFIG}.
&gt; But 
&gt; $ find meta* -name art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
&gt; meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h
&gt; So I think &quot;bitbake libart-lgpl&quot; will also fail on qemumips and qemux86-64? 
&gt; Hi Gary, could you please also supply a fix for them? Thanks!
BTW: today&apos;s logs show failures on qemumips and qemux86-64:
http://autobuilder.pokylinux.org:8010/builders/nightly-release/builds/139/steps/shell_44/logs/stdio

http://autobuilder.pokylinux.org:8010/builders/nightly-release/builds/139/steps/shell_42/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11005</commentid>
    <comment_count>6</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2010-12-05 21:53:34 +0000</bug_when>
    <thetext>This should be a dependency issue on gnome-icon-theme, I will send a patch to fix it.

Thanks,
Dongxiao</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11032</commentid>
    <comment_count>7</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2010-12-08 21:44:25 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; &gt; Created attachment 72 [details] [details] [details] [details]
&gt; &gt; &gt; &gt; Patch to add PowerPC config file
&gt; &gt; &gt; &gt; Fails for PowerPC targets
&gt; &gt; &gt; &gt; This target is currently broken, at least for PowerPC:
&gt; &gt; &gt; &gt; OE Build Configuration:
&gt; &gt; &gt; &gt; BB_VERSION        = &quot;1.11.0&quot;
&gt; &gt; &gt; &gt; METADATA_BRANCH   = &quot;local_master&quot;
&gt; &gt; &gt; &gt; METADATA_REVISION = &quot;386a1f75c1065dbee7cba0e21f858e0101845eb1&quot;
&gt; &gt; &gt; &gt; TARGET_ARCH       = &quot;powerpc&quot;
&gt; &gt; &gt; &gt; TARGET_OS         = &quot;linux&quot;
&gt; &gt; &gt; &gt; MACHINE           = &quot;qemuppc&quot;
&gt; &gt; &gt; &gt; DISTRO            = &quot;poky&quot;
&gt; &gt; &gt; &gt; DISTRO_VERSION    = &quot;0.9+snapshot-20101127&quot;
&gt; &gt; &gt; &gt; TARGET_FPU        = &quot;&quot;
&gt; &gt; &gt; &gt; The recipe meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb fails
&gt; &gt; &gt; &gt; because of a missing configuration file for PowerPC architecture.
&gt; &gt; &gt; &gt; The attached patch fixes this
&gt; &gt; &gt; I think the description is incorrect here. It&apos;s not libsndfile1 that has the
&gt; &gt; &gt; missing config file for ppc. It&apos;s libart-lgpl_2.3.21.bb.
&gt; &gt; &gt; However, Gary&apos;s fix (attachment 72 [details] [details] [details]) is good, I think.
&gt; &gt; &gt; I also see Gary sent the fix to poky mailing list for 3+ days, but not accepted
&gt; &gt; &gt; into poky.git and poky-contrib.git yet. I&apos;ll ack the fix in the mailing list.
&gt; &gt; in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
&gt; &gt; ART_CONFIG = &quot;${HOST_ARCH}/art_config.h&quot;
&gt; &gt; and 
&gt; &gt; SRC_URI refers to {ART_CONFIG}.
&gt; &gt; But 
&gt; &gt; $ find meta* -name art_config.h
&gt; &gt; meta/recipes-gnome/gnome/libart-lgpl/arm/art_config.h
&gt; &gt; meta/recipes-gnome/gnome/libart-lgpl/i686/art_config.h
&gt; &gt; meta/recipes-gnome/gnome/libart-lgpl/i586/art_config.h
&gt; &gt; meta/recipes-gnome/gnome/libart-lgpl/i386/art_config.h
&gt; &gt; So I think &quot;bitbake libart-lgpl&quot; will also fail on qemumips and qemux86-64? 
&gt; &gt; Hi Gary, could you please also supply a fix for them? Thanks!
&gt; BTW: today&apos;s logs show failures on qemumips and qemux86-64:
&gt; http://autobuilder.pokylinux.org:8010/builders/nightly-release/builds/139/steps/shell_44/logs/stdio
&gt; http://autobuilder.pokylinux.org:8010/builders/nightly-release/builds/139/steps/shell_42/logs/stdio

Fixed by 
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=cdc640f82208c71eba8ba2b4c88c2f31f7556f36

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=1b679bf14bb97020cf881a92dcee7b219a9884a2

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=6592cdcd50cfa84bd4bc0244c426ec714bce86a6</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>72</attachid>
            <date>2010-11-29 17:09:18 +0000</date>
            <delta_ts>2010-11-29 17:09:18 +0000</delta_ts>
            <desc>Patch to add PowerPC config file</desc>
            <filename>0002-Add-missing-config-file-allows-builds-on-PowerPC.patch</filename>
            <type>application/octet-stream</type>
            <size>1012</size>
            <attacher name="Gary Thomas">gary</attacher>
            
              <data encoding="base64">RnJvbSBjY2E5YzI4MWNiOTAxZDRkNjllYThkNTliMDhmYjU3ZjUwZGI2NWYyIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBHYXJ5IFRob21hcyA8Z2FyeUBtbGJhc3NvYy5jb20+CkRhdGU6
IFN1biwgMjggTm92IDIwMTAgMDY6MjE6MjggLTA3MDAKU3ViamVjdDogW1BBVENIIDEvMl0gQWRk
IG1pc3NpbmcgY29uZmlnIGZpbGUgLSBhbGxvd3MgYnVpbGRzIG9uIFBvd2VyUEMKClNpZ25lZC1v
ZmYtYnk6IEdhcnkgVGhvbWFzIDxnYXJ5QG1sYmFzc29jLmNvbT4KLS0tCiAuLi4vZ25vbWUvbGli
YXJ0LWxncGwvcG93ZXJwYy9hcnRfY29uZmlnLmggICAgICAgICB8ICAgMTAgKysrKysrKysrKwog
MSBmaWxlcyBjaGFuZ2VkLCAxMCBpbnNlcnRpb25zKCspLCAwIGRlbGV0aW9ucygtKQogY3JlYXRl
IG1vZGUgMTAwNjQ0IG1ldGEvcmVjaXBlcy1nbm9tZS9nbm9tZS9saWJhcnQtbGdwbC9wb3dlcnBj
L2FydF9jb25maWcuaAoKZGlmZiAtLWdpdCBhL21ldGEvcmVjaXBlcy1nbm9tZS9nbm9tZS9saWJh
cnQtbGdwbC9wb3dlcnBjL2FydF9jb25maWcuaCBiL21ldGEvcmVjaXBlcy1nbm9tZS9nbm9tZS9s
aWJhcnQtbGdwbC9wb3dlcnBjL2FydF9jb25maWcuaApuZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRl
eCAwMDAwMDAwLi5iMGU3NGFkCi0tLSAvZGV2L251bGwKKysrIGIvbWV0YS9yZWNpcGVzLWdub21l
L2dub21lL2xpYmFydC1sZ3BsL3Bvd2VycGMvYXJ0X2NvbmZpZy5oCkBAIC0wLDAgKzEsMTAgQEAK
Ky8qIEF1dG9tYXRpY2FsbHkgZ2VuZXJhdGVkIGJ5IGdlbl9hcnRfY29uZmlnLmMgKi8KKworI2Rl
ZmluZSBBUlRfU0laRU9GX0NIQVIgMQorI2RlZmluZSBBUlRfU0laRU9GX1NIT1JUIDIKKyNkZWZp
bmUgQVJUX1NJWkVPRl9JTlQgNAorI2RlZmluZSBBUlRfU0laRU9GX0xPTkcgNAorCit0eXBlZGVm
IHVuc2lnbmVkIGNoYXIgYXJ0X3U4OwordHlwZWRlZiB1bnNpZ25lZCBzaG9ydCBhcnRfdTE2Owor
dHlwZWRlZiB1bnNpZ25lZCBpbnQgYXJ0X3UzMjsKLS0gCjEuNi4yLjUKCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>