Bug 554 - Can't build meta-toolchain-sdk as libart-lgpl_2.3.21.bb fails on unpack
Summary: Can't build meta-toolchain-sdk as libart-lgpl_2.3.21.bb fails on unpack
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M1
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard:
: 556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-29 17:09 UTC by Gary Thomas
Modified: 2010-12-21 06:07 UTC (History)
8 users (show)

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


Attachments
Patch to add PowerPC config file (1012 bytes, application/octet-stream)
2010-11-29 17:09 UTC, Gary Thomas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Thomas 2010-11-29 17:09:18 UTC
Created attachment 72 [details]
Patch to add PowerPC config file

Fails for PowerPC targets

This target is currently broken, at least for PowerPC:

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

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
Comment 1 Dexuan Cui 2010-12-01 20:58:15 UTC
(In reply to comment #0)
> Created attachment 72 [details]
> Patch to add PowerPC config file
> Fails for PowerPC targets
> This target is currently broken, at least for PowerPC:
> OE Build Configuration:
> BB_VERSION        = "1.11.0"
> METADATA_BRANCH   = "local_master"
> METADATA_REVISION = "386a1f75c1065dbee7cba0e21f858e0101845eb1"
> TARGET_ARCH       = "powerpc"
> TARGET_OS         = "linux"
> MACHINE           = "qemuppc"
> DISTRO            = "poky"
> DISTRO_VERSION    = "0.9+snapshot-20101127"
> TARGET_FPU        = ""
> 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
I think the description is incorrect here. It's not libsndfile1 that has the missing config file for ppc. It's libart-lgpl_2.3.21.bb.

However, Gary's fix (attachment 72 [details]) 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'll ack the fix in the mailing list.
Comment 2 Dexuan Cui 2010-12-01 21:00:20 UTC
*** Bug 556 has been marked as a duplicate of this bug. ***
Comment 3 Dexuan Cui 2010-12-01 21:08:31 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Created attachment 72 [details] [details]
> > Patch to add PowerPC config file
> > Fails for PowerPC targets
> > This target is currently broken, at least for PowerPC:
> > OE Build Configuration:
> > BB_VERSION        = "1.11.0"
> > METADATA_BRANCH   = "local_master"
> > METADATA_REVISION = "386a1f75c1065dbee7cba0e21f858e0101845eb1"
> > TARGET_ARCH       = "powerpc"
> > TARGET_OS         = "linux"
> > MACHINE           = "qemuppc"
> > DISTRO            = "poky"
> > DISTRO_VERSION    = "0.9+snapshot-20101127"
> > TARGET_FPU        = ""
> > 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
> I think the description is incorrect here. It's not libsndfile1 that has the
> missing config file for ppc. It's libart-lgpl_2.3.21.bb.
> However, Gary's fix (attachment 72 [details]) 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'll ack the fix in the mailing list.

in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
ART_CONFIG = "${HOST_ARCH}/art_config.h"
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 "bitbake libart-lgpl" will also fail on qemumips and qemux86-64? 
Hi Gary, could you please also supply a fix for them? Thanks!
Comment 4 Dexuan Cui 2010-12-01 21:30:24 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Created attachment 72 [details] [details] [details]
> > > Patch to add PowerPC config file
> > > Fails for PowerPC targets
> > > This target is currently broken, at least for PowerPC:
> > > OE Build Configuration:
> > > BB_VERSION        = "1.11.0"
> > > METADATA_BRANCH   = "local_master"
> > > METADATA_REVISION = "386a1f75c1065dbee7cba0e21f858e0101845eb1"
> > > TARGET_ARCH       = "powerpc"
> > > TARGET_OS         = "linux"
> > > MACHINE           = "qemuppc"
> > > DISTRO            = "poky"
> > > DISTRO_VERSION    = "0.9+snapshot-20101127"
> > > TARGET_FPU        = ""
> > > 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
> > I think the description is incorrect here. It's not libsndfile1 that has the
> > missing config file for ppc. It's libart-lgpl_2.3.21.bb.
> > However, Gary's fix (attachment 72 [details] [details]) 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'll ack the fix in the mailing list.
> in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
> ART_CONFIG = "${HOST_ARCH}/art_config.h"
> 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 "bitbake libart-lgpl" will also fail on qemumips and qemux86-64? 
> Hi Gary, could you please also supply a fix for them? Thanks!
BTW: please put a "[BUGID #554]" in the git commit's description so we can track bug more easily. :-)
Comment 5 Dexuan Cui 2010-12-05 21:51:06 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Created attachment 72 [details] [details] [details]
> > > Patch to add PowerPC config file
> > > Fails for PowerPC targets
> > > This target is currently broken, at least for PowerPC:
> > > OE Build Configuration:
> > > BB_VERSION        = "1.11.0"
> > > METADATA_BRANCH   = "local_master"
> > > METADATA_REVISION = "386a1f75c1065dbee7cba0e21f858e0101845eb1"
> > > TARGET_ARCH       = "powerpc"
> > > TARGET_OS         = "linux"
> > > MACHINE           = "qemuppc"
> > > DISTRO            = "poky"
> > > DISTRO_VERSION    = "0.9+snapshot-20101127"
> > > TARGET_FPU        = ""
> > > 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
> > I think the description is incorrect here. It's not libsndfile1 that has the
> > missing config file for ppc. It's libart-lgpl_2.3.21.bb.
> > However, Gary's fix (attachment 72 [details] [details]) 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'll ack the fix in the mailing list.
> in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
> ART_CONFIG = "${HOST_ARCH}/art_config.h"
> 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 "bitbake libart-lgpl" will also fail on qemumips and qemux86-64? 
> Hi Gary, could you please also supply a fix for them? Thanks!
BTW: today'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
Comment 6 Dongxiao Xu 2010-12-05 21:53:34 UTC
This should be a dependency issue on gnome-icon-theme, I will send a patch to fix it.

Thanks,
Dongxiao
Comment 7 Dexuan Cui 2010-12-08 21:44:25 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > (In reply to comment #1)
> > > (In reply to comment #0)
> > > > Created attachment 72 [details] [details] [details] [details]
> > > > Patch to add PowerPC config file
> > > > Fails for PowerPC targets
> > > > This target is currently broken, at least for PowerPC:
> > > > OE Build Configuration:
> > > > BB_VERSION        = "1.11.0"
> > > > METADATA_BRANCH   = "local_master"
> > > > METADATA_REVISION = "386a1f75c1065dbee7cba0e21f858e0101845eb1"
> > > > TARGET_ARCH       = "powerpc"
> > > > TARGET_OS         = "linux"
> > > > MACHINE           = "qemuppc"
> > > > DISTRO            = "poky"
> > > > DISTRO_VERSION    = "0.9+snapshot-20101127"
> > > > TARGET_FPU        = ""
> > > > 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
> > > I think the description is incorrect here. It's not libsndfile1 that has the
> > > missing config file for ppc. It's libart-lgpl_2.3.21.bb.
> > > However, Gary's fix (attachment 72 [details] [details] [details]) 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'll ack the fix in the mailing list.
> > in meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb:
> > ART_CONFIG = "${HOST_ARCH}/art_config.h"
> > 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 "bitbake libart-lgpl" will also fail on qemumips and qemux86-64? 
> > Hi Gary, could you please also supply a fix for them? Thanks!
> BTW: today'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

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