[OE-core] module.bbclass uses host objdump

2012-04-16 Thread James Limbouris
Hi, During module builds I've been getting a lot of errors like this: make[1]: Entering directory `/home/james/oe/build/tmp-eglibc/sysroots/rica5/kernel' CC [M] /home/james/oe/build/tmp-eglibc/work/rica5-rica-linux-gnueabi/rt3070-2.5.0.2-r1/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.

[OE-core] [PATCH 17/17] lrzsz: Use update-alternatives to set provides

2012-04-16 Thread Mark Hatle
Use the update-alternatives and MANUAL_ALTERNATIVE_LINKS to ensure the package gets the proper provides setup automatically. Signed-by: Mark Hatle Signed-off-by: Mark Hatle --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --g

[OE-core] [PATCH 14/17] console-tools: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use update-alternatives and sync to the way the replace kbd package does things. Using update-alternatives ensures that the proper provides are setup in the packages. Signed-off-by: Mark Hatle --- .../console-tools/console-tools_0.3.2.bb | 27 +++ 1 files changed, 5

[OE-core] [PATCH 16/17] lrzsz: sz, sx and sb were linked incorrectly

2012-04-16 Thread Mark Hatle
The sz, sx and sb links were created incorrectly to lrz, they should point to lsz. Signed-off-by: Mark Hatle --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb b/meta/recipes-bsp

[OE-core] [PATCH 15/17] sysvinit: Use update-alternatives in a different way

2012-04-16 Thread Mark Hatle
Change from using a single update-alternative class entry for "init" to using ALTERNATIVE_LINKS for the majority of the items. Then use the manual entries for the outliers like init and pidof. End result is the same package behavior, plus proper dependencies in the resulting package. Signed-off-

[OE-core] [PATCH 10/17] findutils: Use update-alternatives

2012-04-16 Thread Mark Hatle
Change to using update-alternatives to ensure that we're consistently using the class, and the package provides are being setup properly. Signed-off-by: Mark Hatle --- meta/recipes-extended/findutils/findutils.inc |5 +++- .../recipes-extended/findutils/findutils_4.2.31.bb | 22 --

[OE-core] [PATCH 13/17] kbd: Use update-alternatives

2012-04-16 Thread Mark Hatle
Change to use ALTERNATIVE_LINKS from update-alternatives. This ensures the links are created consistently and the package provides are correct. Signed-off-by: Mark Hatle --- meta/recipes-core/kbd/kbd_1.15.2.bb | 34 +++--- 1 files changed, 7 insertions(+), 27 delet

[OE-core] [PATCH 12/17] module-init-tools: Update to use update-alternatives class

2012-04-16 Thread Mark Hatle
Use the update-alternatives class and MANUAL_ALTERNATIVE_LINKs to ensure that the produced packages specify the correct package provides. Also change references from "bin" and "sbin" to base_bindir and base_sbindir. Signed-off-by: Mark Hatle --- .../module-init-tools/module-init-tools_3.16.bb

[OE-core] [PATCH 11/17] gzip: Use update-alternatives class

2012-04-16 Thread Mark Hatle
Switch to using the update-alternatives class. Need this for consistency and to ensure the necessary package provides get set. Signed-off-by: Mark Hatle --- meta/recipes-extended/gzip/gzip.inc | 32 meta/recipes-extended/gzip/gzip_1.3.12.bb | 24 +++---

[OE-core] [PATCH 09/17] shadow: Use update-alternatives

2012-04-16 Thread Mark Hatle
Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup properly, along with the package provides. Signed-off-by: Mark Hatle --- meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 42 +++ 1 files changed, 20 insertions(+), 22 deletions(-) diff --git a/m

[OE-core] [PATCH 08/17] net-tools: Use update-alternatives

2012-04-16 Thread Mark Hatle
Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup properly, along with the package provides. Signed-off-by: Mark Hatle --- .../net-tools/net-tools_1.60-23.bb | 28 ++- 1 files changed, 9 insertions(+), 19 deletions(-) diff --git a/me

[OE-core] [PATCH 07/17] iputils: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use MANUAL_ALTERNATIVE_LINKS to ensure that the package provides are being setup properly. Signed-off-by: Mark Hatle --- meta/recipes-extended/iputils/iputils_s20101006.bb |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended/iputils/iputils_s20101006

[OE-core] [PATCH 06/17] hdparm: Use update-alternatives

2012-04-16 Thread Mark Hatle
Switch to using update-alternatives, this ensures that the call to update-alternatives and package provides are correct. Signed-off-by: Mark Hatle --- meta/recipes-extended/hdparm/hdparm_9.39.bb | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/meta/recipes

[OE-core] [PATCH 05/17] openssh: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use the MANUAL_ALTERNATIVE_LINKS to ensure the update-alternative references are properly added to the packages provides. Also fix the RPROVIDES, as they are package split specific! Signed-off-by: Mark Hatle --- meta/recipes-connectivity/openssh/openssh_5.9p1.bb |9 ++--- 1 files change

[OE-core] [PATCH 04/17] grep: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use ALTERNATIVE_LINKS to be sure the links and provide info is setup properly. Signed-off-by: Mark Hatle --- meta/recipes-extended/grep/grep_2.5.1a.bb | 25 + meta/recipes-extended/grep/grep_2.9.bb| 22 -- 2 files changed, 17 insertions(+), 30

[OE-core] [PATCH 03/17] coreutils_*.bb: Sync up file path with busybox and minor cleanup

2012-04-16 Thread Mark Hatle
We need to ensure that the filepaths used by coreutils and busybox are the same. Do this for base64, mktemp and df. Also remove references to hostname/uptime in 8.14 version as these were only relevant for the older 6.9 version. su from the 6.9 version is removed, as it should come from shadow.

[OE-core] [PATCH 02/17] coreutils_*.bb: Use update alternatives and add missing manual alt links

2012-04-16 Thread Mark Hatle
Coreutils was capable of providing many of the necessary binaries for the system, however it never told the package manager what was being provided via the alternatives. Use the MANUAL_ALTERNATIVE_LINKS to do this. It also should have been using the update-alternatives class as that automatically

[OE-core] [PATCH 01/17] update-alternatives.bbclass: Ensure alternatives end up in per file deps

2012-04-16 Thread Mark Hatle
Ensure that alternatives end up in per file provides, associated with the source of the alternative. Add a way to specify MANUAL_ALTERNATIVE_LINKS in order for programs that manage their own alternatives to be more easily added to the per file provides. Add a function, package_do_filedeps_append

[OE-core] [PATCH 00/17] Fix update-alternatives and RPM package dependencies

2012-04-16 Thread Mark Hatle
It was recently noticed that many packages that use update-alternatives were not setting package level provides. So a package that required /usr/bin/env would not be satisfied by coreutils, even though it had a /usr/bin/env alternative. The first patch in the series adds the enhanced alternatives

[OE-core] [PATCH] libzypp: add libproxy to DEPENDS

2012-04-16 Thread Saul Wold
libzypp uses proxy.h to handle proxies [YOCTO #2306] Signed-off-by: Saul Wold --- meta/recipes-extended/libzypp/libzypp_git.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb

[OE-core] [PATCH 0/1] Fix segfault in connman-gnome

2012-04-16 Thread Paul Eggleton
Unfortunately this segfault did not show up until I was able to test connecting to a wifi network from a Poky system at runtime; all other tests passed (including the same operation on an Ubuntu system). The following changes since commit 4e1a8ed1ab7e7bd950e511c79ddfe072cb280a6e: bitbake.conf:

[OE-core] [PATCH 1/1] connman-gnome: fix segfault on connect

2012-04-16 Thread Paul Eggleton
Fixes a segfault in the properties application when connecting to a WiFi service succeeds. Signed-off-by: Paul Eggleton --- ...me-fix-segfault-due-to-unchecked-null-val.patch | 30 .../connman/connman-gnome_0.5.bb |5 ++- 2 files changed, 33 insertion

Re: [OE-core] [PATCH 0/7] External csl toolchain improvements

2012-04-16 Thread Chris Larson
On Mon, Apr 16, 2012 at 1:43 PM, Christopher Larson wrote: > This cleans up the recipe and simplifies it, fixes up locale handling, > silences QA packaging warnings, and includes toolchain version in the metadata > checksums for target recipes. Obviously this is intended for after the final > rele

[OE-core] [PATCH 5/7] external-csl-toolchain: silence .a/.debug QA warnings

2012-04-16 Thread Christopher Larson
Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index bafa331..fb553ab 100644 --

[OE-core] [PATCH 7/7] external-csl-toolchain: update for locale bits

2012-04-16 Thread Christopher Larson
- drop SUPPORTED, as it's only used for locale generation, and we now use the precompiled locale files from the external toolchain - stop rm -r'ing locale files from do_install_locale, as it's not needed Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb |

[OE-core] [PATCH 6/7] external-csl-toolchain: cleanup, simplify, use base_libdir

2012-04-16 Thread Christopher Larson
Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb | 51 +++-- 1 files changed, 27 insertions(+), 24 deletions(-) diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index fb553ab.

[OE-core] [PATCH 2/7] libc-package: fix handling for 'precompiled' locales

2012-04-16 Thread Christopher Larson
Due to how the 'supported' locales were being generated (added ' ' twice for locales with '.' in them), one could end up with the locale-base packages in your PACKAGES twice, causing packaging problems with eglibc-locale. Signed-off-by: Christopher Larson --- meta/classes/libc-package.bbclass |

[OE-core] [PATCH 3/7] csl-versions.inc: capture version in signatures

2012-04-16 Thread Christopher Larson
We want to ensure that changing external toolchain version will change the metadata checksums of target recipes. This will do so via ensuring that any variable which references TOOLCHAIN_OPTIONS also pulls in the toolchain version variables. Signed-off-by: Christopher Larson --- meta/conf/distro

[OE-core] [PATCH 4/7] tcmode-external-csl: use the existing precompiled locale files

2012-04-16 Thread Christopher Larson
Signed-off-by: Christopher Larson --- meta/conf/distro/include/tcmode-external-csl.inc |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc index 1fc366c..3b54e35 100644 ---

[OE-core] [PATCH 1/7] external-csl-toolchain: split out a libstdc++-staticdev package

2012-04-16 Thread Christopher Larson
This silences one of the QA warnings. Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-too

[OE-core] [PATCH 0/7] External csl toolchain improvements

2012-04-16 Thread Christopher Larson
This cleans up the recipe and simplifies it, fixes up locale handling, silences QA packaging warnings, and includes toolchain version in the metadata checksums for target recipes. Obviously this is intended for after the final release. The following changes since commit 4e1a8ed1ab7e7bd950e511c79dd

[OE-core] [PATCH 2/2] core-image-sato-sdk: typo in DESCRIPTION

2012-04-16 Thread Beth Flanagan
Fix for a minor type in DESCRIPTION Signed-off-by: Beth Flanagan --- meta/recipes-sato/images/core-image-sato-sdk.bb |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb index

[OE-core] [PATCH 1/2] core-image-rt-*.bb: require munges DESCRIPTION

2012-04-16 Thread Beth Flanagan
The require of core-image-minimal overrides the description. The best fix for this would be conditional setting of DESCRIPTION in the required images for all image descriptions, but that opens a potential can of worms. Moving the require fixes this. Signed-off-by: Beth Flanagan --- meta/recipes-

[OE-core] [PATCH 0/2] Image description fixes

2012-04-16 Thread Beth Flanagan
[YOCTO #2227] This changeset fixes two issues. core-image-rt* DESCRIPTION: because of the require for core-image-minimal, DESCRIPTION is reset to the imported value. Moved the require to the beginning. A better solution may be to set all the image DESCRIPTIONS to ?= but that may introduce some i

Re: [OE-core] [PATCH 0/1] Fix perl re-execution issues

2012-04-16 Thread Paul Eggleton
On Monday 16 April 2012 17:43:01 Paul Eggleton wrote: > Fix re-execution issues within perl. > > Note: I identified that some references to /usr/include are still not > being substituted before or after this patch - you can see these by > doing "grep -rI '/usr/include' *" er, that should be: gr

[OE-core] [PATCH 1/1] perl: fix re-execution of patch/configure

2012-04-16 Thread Paul Eggleton
The perl recipe's do_configure() does some manual sed replacements over the entire WORKDIR. Fix the following issues with this: * Skip patches, which fixes re-execution of do_patch after do_configure has run once * Ensure that the replacement operation does nothing if do_configure is re-execut

[OE-core] [PATCH 0/1] Fix perl re-execution issues

2012-04-16 Thread Paul Eggleton
Fix re-execution issues within perl. Note: I identified that some references to /usr/include are still not being substituted before or after this patch - you can see these by doing "grep -rI '/usr/include' *" in WORKDIR after do_configure(). I do not know enough about how we build perl to know if

Re: [OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Richard Purdie
On Mon, 2012-04-16 at 08:31 -0700, Steve Sakoman wrote: > On Mon, Apr 16, 2012 at 4:27 AM, Koen Kooi wrote: > > >>> Since this changes the sources it needs a PR bump. > >> > >> It has no effect on the packaged output which was always the criteria > >> for PR bumps as I understood things. > > > >

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Richard Purdie
On Mon, 2012-04-16 at 22:37 +0800, Robert Yang wrote: > > On 04/16/2012 09:55 PM, Andreas Oberritter wrote: > > On 10.04.2012 21:28, Andreas Oberritter wrote: > >> I'm fine with either way that restores mips/mipsel for mips32 targets > >> *before the release*, because the online update feeds broke

Re: [OE-core] [PATCH 0/1] Dexuan: nspr: fix package splitin

2012-04-16 Thread Saul Wold
On 04/13/2012 03:04 AM, Dexuan Cui wrote: The following changes since commit f81b0593e74a31cb2d992df0583948ff57e3ed98: gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in include/gdbm (2012-03-23 17:56:29 +0200) are available in the git repository at: git://git.pokylinux

Re: [OE-core] [PATCH 0/2] systemtap doc build fix

2012-04-16 Thread Saul Wold
On 04/13/2012 12:55 PM, tom.zanu...@intel.com wrote: From: Tom Zanussi This patchset fixes a documentation build problem with docproc, then turns documentation generation off by default, since when it works, it adds a lot to the build time. The following changes since commit 04b16f1038f7cae445d

Re: [OE-core] [v2 0/4] grub & eglibc fixes for fedora 17 alpha

2012-04-16 Thread Saul Wold
On 04/14/2012 01:59 AM, nitin.a.kam...@intel.com wrote: From: Nitin A Kamble These are various grub fixes for correctly building grub recipes for various targets. These are tested for emenlow, sugerbay, qemux86, qemux86-64 machines The eglibc commits is thes same as in the v1 pull request. Ni

Re: [OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Steve Sakoman
On Mon, Apr 16, 2012 at 4:27 AM, Koen Kooi wrote: >>> Since this changes the sources it needs a PR bump. >> >> It has no effect on the packaged output which was always the criteria >> for PR bumps as I understood things. > > But there's the exception for fixing failures like this so people don't

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Mark Hatle
On 4/16/12 10:15 AM, Andreas Oberritter wrote: On 16.04.2012 16:42, Richard Purdie wrote: On Mon, 2012-04-16 at 15:55 +0200, Andreas Oberritter wrote: On 10.04.2012 21:28, Andreas Oberritter wrote: On 10.04.2012 19:53, Mark Hatle wrote: We still do not have a clean answer for how to resolve t

Re: [OE-core] [PATCH 1/1] Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...

2012-04-16 Thread Saul Wold
On 04/15/2012 11:50 PM, edwin.z...@intel.com wrote: From: Zhai Edwin MLPREFIX is needed in RDEPENDS for multilib build Signed-off-by: Zhai Edwin --- meta/classes/gconf.bbclass|2 +- meta/classes/libc-package.bbclass |2 +- meta/classes/useradd.bbclass |3 ++- 3 fil

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Andreas Oberritter
On 16.04.2012 16:37, Robert Yang wrote: > > > On 04/16/2012 09:55 PM, Andreas Oberritter wrote: >> On 10.04.2012 21:28, Andreas Oberritter wrote: >>> On 10.04.2012 19:53, Mark Hatle wrote: We still do not have a clean answer for how to resolve the concerns in the recent thread "conf/mac

Re: [OE-core] [PATCH 0/1] Fix connman-gnome for connman 0.79

2012-04-16 Thread Saul Wold
On 04/14/2012 07:01 PM, Paul Eggleton wrote: The following change since commit 4396db54dba4afdb9f1099f4e386dc25c76f49fb: grub: Add missing dependency on autogen-native to avoid build failures (2012-04-14 23:42:16 +0100) is available in the git repository at: git://git.openembedded.org/op

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Andreas Oberritter
On 16.04.2012 16:42, Richard Purdie wrote: > On Mon, 2012-04-16 at 15:55 +0200, Andreas Oberritter wrote: >> On 10.04.2012 21:28, Andreas Oberritter wrote: >>> On 10.04.2012 19:53, Mark Hatle wrote: We still do not have a clean answer for how to resolve the concerns in the recent thread "

[OE-core] [PATCH 1/1] qemu-nativesdk: can't find libcurl.so.4

2012-04-16 Thread Robert Yang
There is an error when build meta-toolchain-sdk on Ubuntu 10.10: | Installing NATIVESDK packages | Processing task-sdk-host-nativesdk... | Processing task-cross-canadian-mips... | error: Failed dependencies: | libcurl.so.4 is needed by qemu-nativesdk-0.15.1-r5.i686 NOTE: package meta-toolcha

[OE-core] [PATCH 0/1] qemu-nativesdk: can't find libcurl.so.4

2012-04-16 Thread Robert Yang
Test info: Tested on: FC 13/16/17 64bit Ubuntu 10.10 32bit $ bitbake meta-toolchain-sdk core-image-sato * The build worked well. * runqemu worked well * untar the sdk, and the runqemu from the sdk worked well. // Robert The following changes since commit 4e1a8ed1ab7e7bd950e511c79ddfe072cb280a6e:

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Richard Purdie
On Mon, 2012-04-16 at 15:55 +0200, Andreas Oberritter wrote: > On 10.04.2012 21:28, Andreas Oberritter wrote: > > On 10.04.2012 19:53, Mark Hatle wrote: > >> We still do not have a clean answer for how to resolve the concerns in > >> the recent thread "conf/machine/include: Cleanup MIPS tunings to

Re: [OE-core] [PATCH 1/1] gst-plugins-bad: add curl as build dependency

2012-04-16 Thread Andreas Oberritter
On 15.04.2012 01:47, Xu, Dongxiao wrote: > On Sat, 2012-04-14 at 13:23 +0200, Koen Kooi wrote: >> Op 14 apr. 2012, om 12:44 heeft Dongxiao Xu het volgende geschreven: >> >>> gst-plugins-bad needs curl.h to finish its build, so add curl as its >>> dependency. >> >> I can't be sure without the exact

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Robert Yang
On 04/16/2012 09:55 PM, Andreas Oberritter wrote: On 10.04.2012 21:28, Andreas Oberritter wrote: On 10.04.2012 19:53, Mark Hatle wrote: We still do not have a clean answer for how to resolve the concerns in the recent thread "conf/machine/include: Cleanup MIPS tunings to match README". The f

[OE-core] eglibc: shlib.lds:127: syntax error Was: [PATCH 1/2] eglibc-2.15: Update SRCREV

2012-04-16 Thread Martin Jansa
On Wed, Apr 04, 2012 at 11:11:08PM +0200, Martin Jansa wrote: > On Wed, Mar 28, 2012 at 04:33:47PM +0200, Martin Jansa wrote: > > On Wed, Mar 28, 2012 at 07:15:32AM -0700, Khem Raj wrote: > > > On Fri, Mar 23, 2012 at 7:26 PM, Martin Jansa > > > wrote: > > > > On Fri, Mar 23, 2012 at 02:17:02PM +

Re: [OE-core] [PATCH 1/3] glib-2.0: fix builds on fedora 17

2012-04-16 Thread Robert Yang
On 04/16/2012 09:53 PM, Koen Kooi wrote: Op 16 apr. 2012, om 15:38 heeft Robert Yang het volgende geschreven: Generally distros keep perl at /sur/bin/perl /usr Good catch, thanks, I've pushed all the 3 new commits to:(based on oe-core) git://git.pokylinux.org/poky-contrib robert/fc17_

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Andreas Oberritter
On 10.04.2012 21:28, Andreas Oberritter wrote: > On 10.04.2012 19:53, Mark Hatle wrote: >> We still do not have a clean answer for how to resolve the concerns in >> the recent thread "conf/machine/include: Cleanup MIPS tunings to match >> README". The following is in response to a request I receiv

Re: [OE-core] [PATCH 1/3] glib-2.0: fix builds on fedora 17

2012-04-16 Thread Koen Kooi
Op 16 apr. 2012, om 15:38 heeft Robert Yang het volgende geschreven: > Generally distros keep perl at /sur/bin/perl /usr ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/op

[OE-core] [PATCH 2/3] autoconf-nativesdk: fix builds on fedora 17

2012-04-16 Thread Robert Yang
Generally distros keep perl at /sur/bin/perl Fedora 17 also has /bin/perl this causes autoconf-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs im

[OE-core] [PATCH 0/3] meta-toolchain-sdk: /bin/perl is needed by some pkgs on FC 17

2012-04-16 Thread Robert Yang
Test info: Tested on FC 13/16/17 64bit 1) $ bitbake meta-toolchain-sdk core-image-sato 2) untar the sdk, and use the sdk to build some pkgs (autoreconf, configure and make) // Robert The following changes since commit 4e1a8ed1ab7e7bd950e511c79ddfe072cb280a6e: bitbake.conf: Include abi_versio

[OE-core] [PATCH 1/3] glib-2.0: fix builds on fedora 17

2012-04-16 Thread Robert Yang
Generally distros keep perl at /sur/bin/perl Fedora 17 also has /bin/perl this causes glib-2.0 build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs image creati

[OE-core] [PATCH 3/3] automake-nativesdk: fix builds on fedora 17

2012-04-16 Thread Robert Yang
Generally distros keep perl at /sur/bin/perl Fedora 17 also has /bin/perl this causes automake-nativesdk build on such distros to put perl interpreter path in the perl scripts as /bin/perl But we set perl location for target as /usr/bin/perl This mismatch of perl path causes failure of rootfs im

[OE-core] [PATCH] bitbake.conf: Add PARALLEL_MAKE to BB_HASHBASE_WHITELIST

2012-04-16 Thread Richard Purdie
The value of PARALLEL_MAKE shouldn't affect sstate checksums. In general it doesn't as the value is injected as a task override and the sstate checksum doesn't track these. That isn't the case for linux-yocto in particular so adding it the list of variables to ignore is useful. Signed-off-by: Rich

Re: [OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Koen Kooi
Op 16 apr. 2012, om 13:10 heeft Richard Purdie het volgende geschreven: > On Mon, 2012-04-16 at 12:50 +0200, Koen Kooi wrote: >> Op 16 apr. 2012, om 11:47 heeft Richard Purdie het volgende geschreven: >> >>> There was a patch patching both configure and configure.in. Since the >>> recipes >>> a

Re: [OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Richard Purdie
On Mon, 2012-04-16 at 12:50 +0200, Koen Kooi wrote: > Op 16 apr. 2012, om 11:47 heeft Richard Purdie het volgende geschreven: > > > There was a patch patching both configure and configure.in. Since the > > recipes > > all autoreconf, this is pointless and means subsequent patch tasks fail. > > >

Re: [OE-core] [PATCH] wget: Fix re-execution issue

2012-04-16 Thread Koen Kooi
Op 16 apr. 2012, om 11:48 heeft Richard Purdie het volgende geschreven: > The patch in this recipe patches both configure and configure.in which leads > to build failures once configure has executed and regenerated configure. > > The fix to make patch re-executable is not to patch configure and

Re: [OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Koen Kooi
Op 16 apr. 2012, om 11:47 heeft Richard Purdie het volgende geschreven: > There was a patch patching both configure and configure.in. Since the recipes > all autoreconf, this is pointless and means subsequent patch tasks fail. > > The fix is to only patch configure.in. > > [YOCTO #2194] > > Si

[OE-core] [PATCH] dropbear: Allow tasks to be safely re-executed

2012-04-16 Thread Richard Purdie
Re-running the debug_patch task would cause the build to fail. This patch moves the extra patch handling directly into SRC_URI and removes the need for the separate task, allowing safe re-execution of each task. [YOCTO #2194] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dropb

[OE-core] [PATCH] docbook-utils-native: Fix re-execution of the unpack task

2012-04-16 Thread Richard Purdie
If the do_unpack task is re-executed, the sed_done stamp was not removed, the sed commands wouldn't re-run and the build would fail in do_compile. This patch ensures the stamp is in ${S} and that we clean that directory when unpack runs so it is a build from sctatch at that point. [YOCTO #2194] S

[OE-core] [PATCH] sgml-common: Fix re-execution of the compile task

2012-04-16 Thread Richard Purdie
The sed command run during do_compile isn't idempotent. This change fixes it so that it is and the compile task can be re-executed. [YOCTO #2194] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common

[OE-core] [PATCH] wget: Fix re-execution issue

2012-04-16 Thread Richard Purdie
The patch in this recipe patches both configure and configure.in which leads to build failures once configure has executed and regenerated configure. The fix to make patch re-executable is not to patch configure and only patch configure.in. [YOCTO #2194] Signed-off-by: Richard Purdie --- diff -

[OE-core] [PATCH] python: Fix re-execution problem due to patching configure and configure.in

2012-04-16 Thread Richard Purdie
There was a patch patching both configure and configure.in. Since the recipes all autoreconf, this is pointless and means subsequent patch tasks fail. The fix is to only patch configure.in. [YOCTO #2194] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python-native/

Re: [OE-core] meta-toolchain-sdk failed on Ubuntu 10.10 and FC17 64bit

2012-04-16 Thread Robert Yang
On 04/16/2012 10:49 AM, Robert Yang wrote: The errors are below, does anyone meet the same errors, please? On Ubuntu 10.10 32bit: MACHINE ?= "qemumips" $ bitbake core-image-sato meta-toolchain-sdk | eds-dbus-dev ## | Installing NATIVESDK packa

Re: [OE-core] [PATCH] gcc-configure-common.inc: Stop gcc looking at build system paths

2012-04-16 Thread Richard Purdie
On Sun, 2012-04-15 at 16:42 -0700, Khem Raj wrote: > On Sun, Apr 15, 2012 at 10:05 AM, Richard Purdie > wrote: > > gcc_cv_collect2_libs > > is it the /usr/lib/cmplrs/cc2.11 access issue ? It is. > in that case the fix it fine. However if its something in LTO > then we need to dig deeper Its no

Re: [OE-core] meta-toolchain-sdk failed on Ubuntu 10.10 and FC17 64bit

2012-04-16 Thread Robert Yang
On 04/16/2012 10:49 AM, Robert Yang wrote: The errors are below, does anyone meet the same errors, please? On Ubuntu 10.10 32bit: MACHINE ?= "qemumips" $ bitbake core-image-sato meta-toolchain-sdk | eds-dbus-dev ## | Installing NATIVESDK packa

[OE-core] [PATCH 1/1] bitbake.conf: Include abi_version.conf in a early stage

2012-04-16 Thread Dongxiao Xu
We may define new OELAYOUT_ABI variable in ${DISTRO}.conf, therefore we need to move the abi_version.conf before that. Signed-off-by: Dongxiao Xu --- meta/conf/bitbake.conf |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf i

[OE-core] [PATCH 0/1][PULL] bitbake.conf: Include abi_version.conf in earlier stage

2012-04-16 Thread Dongxiao Xu
Hi Richard, This pull request contains a commit that includes abi_version in earlier stage. This is a fundamental change for another commit for meta-yocto layer, and I will send that to p...@yoctoproject.org mailing list. Thanks, Dongxiao The following changes since commit e7135f14f3ef37f93f5c

[OE-core] [PATCH 1/1] Multilib: Fix RDEPENDS in libc-package.bbclass, useradd.bbclass...

2012-04-16 Thread edwin . zhai
From: Zhai Edwin MLPREFIX is needed in RDEPENDS for multilib build Signed-off-by: Zhai Edwin --- meta/classes/gconf.bbclass|2 +- meta/classes/libc-package.bbclass |2 +- meta/classes/useradd.bbclass |3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git

[OE-core] [PATCH 0/1] Multilib fix, Apr16, 2012

2012-04-16 Thread edwin . zhai
From: Zhai Edwin RP, This is multilib fix to add missing MLPREFIX. Pls. review and pull Thanks, Edwin The following changes since commit 27aa5489fb40d99c58bb2a4bbf2311e2c502a091: distro.conf: Flipping for denzil (2012-04-04 22:48:02 -0700) are available in the git repository at: git://git.