[OE-core] [PATCH 1/1] ltp: add dependency libcap

2012-09-27 Thread Kang Kai
Similar to libaio, libcap is another dependency of ltp. If libcap has been done populate_sysroot but rpm/ipk package is not created, ltp will be compiled with libcap. So when install ltp to a image, it complains that package libcap is not found. [Yocto #2973] Signed-off-by: Kang Kai --- meta/r

[OE-core] [PATCH 0/1] ltp: add dependency libcap

2012-09-27 Thread Kang Kai
The following changes since commit 3c58f92d46e32c40b80575f14e0f6f66c9920c66: Revert "autotools.bbclass: using relative paths for acpaths" (2012-09-27 17:57:58 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib kangkai/ltp-dep http://git.pokylinux.org/cgit.c

Re: [OE-core] [PATCH] SDK: trap any IO errors in the relocate script

2012-09-27 Thread Laurentiu Palcu
On 09/27/2012 06:49 PM, Saul Wold wrote: > On 09/25/2012 09:35 AM, Laurentiu Palcu wrote: > > BTW: in the future it's good to say the "filename: " This is what I usually use when I change single files. However, sometimes (and I know this particular patch is not the case), I change multiple files

Re: [OE-core] [oe-core][PATCH 00/10] qt4: upgrade to 4.8.3 and cleanup

2012-09-27 Thread Anders Darander
* Martin Jansa [120927 17:44]: > On Thu, Sep 27, 2012 at 04:10:20PM +0100, Paul Eggleton wrote: > > On Thursday 27 September 2012 00:27:05 Martin Jansa wrote: > > > Please test on more architectures. > > > I've tested complete qt4-native + qt4-free-x11 on armv4t. > > > And only do_patch for nativ

Re: [OE-core] [oe-commits] Richard Purdie : sstate.bbclass: Detect overwriting files in sstate controlled directories

2012-09-27 Thread Andreas Müller
On Fri, Aug 31, 2012 at 2:38 AM, wrote: > Module: openembedded-core.git > Branch: master > Commit: 1f1b6f93d6b7aa8c9bd9bb5b1826997812e36932 > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1f1b6f93d6b7aa8c9bd9bb5b1826997812e36932 > > Author: Richard Purdie > Date: S

Re: [OE-core] perl install error

2012-09-27 Thread McClintock Matthew-B29882
On Thu, Sep 27, 2012 at 11:38 PM, Khem Raj wrote: > > On Sep 27, 2012, at 9:23 PM, McClintock Matthew-B29882 > wrote: > >> On Thu, Sep 27, 2012 at 11:18 PM, Khem Raj wrote: >>> >>> On Sep 27, 2012, at 8:52 PM, McClintock Matthew-B29882 >>> wrote: >>> On Thu, Sep 27, 2012 at 10:43 PM, Khe

Re: [OE-core] perl install error

2012-09-27 Thread Khem Raj
On Sep 27, 2012, at 9:23 PM, McClintock Matthew-B29882 wrote: > On Thu, Sep 27, 2012 at 11:18 PM, Khem Raj wrote: >> >> On Sep 27, 2012, at 8:52 PM, McClintock Matthew-B29882 >> wrote: >> >>> On Thu, Sep 27, 2012 at 10:43 PM, Khem Raj wrote: On Sep 27, 2012, at 8:40 PM, McClint

Re: [OE-core] perl install error

2012-09-27 Thread McClintock Matthew-B29882
On Thu, Sep 27, 2012 at 11:18 PM, Khem Raj wrote: > > On Sep 27, 2012, at 8:52 PM, McClintock Matthew-B29882 > wrote: > >> On Thu, Sep 27, 2012 at 10:43 PM, Khem Raj wrote: >>> >>> On Sep 27, 2012, at 8:40 PM, McClintock Matthew-B29882 >>> wrote: >>> Khem, I'm just not looking

Re: [OE-core] perl install error

2012-09-27 Thread Khem Raj
On Sep 27, 2012, at 8:52 PM, McClintock Matthew-B29882 wrote: > On Thu, Sep 27, 2012 at 10:43 PM, Khem Raj wrote: >> >> On Sep 27, 2012, at 8:40 PM, McClintock Matthew-B29882 >> wrote: >> >>> Khem, >>> >>> I'm just not looking at a similiar issue. Do this: >>> >> >> >> just 'not' or ju

Re: [OE-core] perl install error

2012-09-27 Thread Khem Raj
On Sep 27, 2012, at 8:40 PM, McClintock Matthew-B29882 wrote: > Khem, > > I'm just not looking at a similiar issue. Do this: > just 'not' or just 'now' ? > cat tmp/sstate-control/manifest-* | grep usr/lib/perl5 > > And see which recipe is making this folder. It should be the perl > recipe

[OE-core] [PATCH] flex,bison: Add nativesdk variants

2012-09-27 Thread Khem Raj
It is needed in some SDKs that we ship own version of lex/yacc for sdk host Signed-off-by: Khem Raj --- meta/recipes-devtools/bison/bison_2.5.1.bb |2 +- meta/recipes-devtools/flex/flex_2.5.35.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools

[OE-core] [PATCH] boost: Support enums in hash

2012-09-27 Thread Khem Raj
Fixes builds which were building fine with previous versions of boost Signed-off-by: Khem Raj --- meta/recipes-support/boost/boost_1.51.0.bb|6 ++- meta/recipes-support/boost/files/hash_enums.patch | 45 + 2 files changed, 49 insertions(+), 2 deletions(-) creat

Re: [OE-core] perl install error

2012-09-27 Thread McClintock Matthew-B29882
Khem, I'm just not looking at a similiar issue. Do this: cat tmp/sstate-control/manifest-* | grep usr/lib/perl5 And see which recipe is making this folder. It should be the perl recipe, first not some other recipe... Side question are you using FSL layers? -M On Thu, Sep 27, 2012 at 10:28 PM,

[OE-core] [PATCH v2 04/10] eglibc_2.16.bb: refresh fsl-ppc-no-fsqrt.patch for Freescale targets

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: refresh for all Freescale targets, and fix mixup between single and double precision v3: add 32-bit e6500 which was missed v4: Screwed up the patch, fixed in v4 All these patches are on my tree in poky-contrib: http://git.yoctoproject.org/cgit/cgit.cg

Re: [OE-core] perl install error

2012-09-27 Thread Khem Raj
On Sep 27, 2012, at 8:22 PM, Khem Raj wrote: > Hi > > On ppc64 I am getting > > | Warning: perl appears in your path in the following locations beyond where > | we just installed it: > | > /work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl > | > | make[1]: Nothing

[OE-core] perl install error

2012-09-27 Thread Khem Raj
Hi On ppc64 I am getting | Warning: perl appears in your path in the following locations beyond where | we just installed it: | /work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/bin/perl-native/perl | | make[1]: Nothing to be done for `install.man'. | make[1]: Leaving directory `/work/yo

[OE-core] [PATCH v2 04/10] eglibc_2.16.bb: refresh fsl-ppc-no-fsqrt.patch for Freescale targets

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: refresh for all Freescale targets, and fix mixup between single and double precision v3: add 32-bit e6500 which was missed .../eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch | 68 ++-- meta/recipes-core/eglibc/eglibc_2.16.bb

[OE-core] [PATCH v2 10/10] libx11.inc: fix build issues for older CentOS distros

2012-09-27 Thread Matthew McClintock
Fixes these sorts of issues present on older gcc (CentOS 5.x in this case) | cc1: error: unrecognized command line option "-Werror=implicit" | cc1: error: unrecognized command line option "-Werror=nonnull" | cc1: error: unrecognized command line option "-Werror=init-self" | cc1: error: unrecognize

[OE-core] [PATCH v2 02/10] eglibc_2.16.bb: refresh ppc-sqrt_finite.patch for Freescale targets

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: add the current changes for the new arches here as well .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch | 104 +--- meta/recipes-core/eglibc/eglibc_2.16.bb|2 +- 2 files changed, 89 insertions(+), 17 deletions(-) diff

[OE-core] [PATCH v2 06/10] tune-ppce6500.inc: add e6500 tune files

2012-09-27 Thread Matthew McClintock
Also supports a new altivec TUNE_FEATURE Signed-off-by: Matthew McClintock --- v2: no changes meta/conf/machine/include/tune-ppce6500.inc | 21 + 1 file changed, 21 insertions(+) create mode 100644 meta/conf/machine/include/tune-ppce6500.inc diff --git a/meta/conf/machin

[OE-core] [PATCH v2 08/10] insane.bbclass: skip checking arch (machine/bits) for powerpc kernel recipe

2012-09-27 Thread Matthew McClintock
For a 32-bit machine, we still might always (or optionally) want to build a 64-bit kernel so we add an exception. Signed-off-by: Matthew McClintock --- Not sure if we should just skip for all virtual/kernel's? Should we use some variable for this instead? -BUILD_64BIT_KERNEL? PROMOTE_TO_64BIT_KE

[OE-core] [PATCH v2 07/10] flac_1.2.1.bb: use TUNE_FEATURES to enable/disable altivec

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: no changes meta/recipes-multimedia/flac/flac_1.2.1.bb |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-multimedia/flac/flac_1.2.1.bb b/meta/recipes-multimedia/flac/flac_1.2.1.bb index 157128f..6520b71 100644 ---

[OE-core] [PATCH v2 03/10] eglibc_2.16.bb: refresh ppc_slow_ieee754_sqrt.patch for Freescale targets

2012-09-27 Thread Matthew McClintock
Make same changes for e6500 fpu as done with others Signed-off-by: Matthew McClintock --- v2: refresh patch for other new arches that were added by the previous commit which was causing new build errors .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch | 278 ++-- meta/rec

[OE-core] [PATCH v2 04/10] eglibc_2.16.bb: refresh fsl-ppc-no-fsqrt.patch for Freescale targets

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: refresh for all Freescale targets, and fix mixup between single and double precision .../eglibc/eglibc-2.16/fsl-ppc-no-fsqrt.patch | 50 ++-- meta/recipes-core/eglibc/eglibc_2.16.bb|2 +- 2 files changed, 47 ins

[OE-core] [PATCH v2 09/10] binutils.inc: add vardep on multiarch DISTRO_FEATURE

2012-09-27 Thread Matthew McClintock
binutils will build differently if this feature is enabled, so make the do_configure step depend on it Signed-off-by: Matthew McClintock --- Not sure if we should try to fix via configure options v2: update commit message a bit meta/recipes-devtools/binutils/binutils.inc |2 ++ 1 file chan

[OE-core] [PATCH v2 05/10] arch-powerpc.inc: add altivec as a valid tune feature

2012-09-27 Thread Matthew McClintock
Signed-off-by: Matthew McClintock --- v2: no changes This patch and the others should fix Yocto bug #3072 meta/conf/machine/include/powerpc/arch-powerpc.inc |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/machine/include/powerpc/arch-powerpc.inc b/meta/conf/machine/include/p

Re: [OE-core] [PATCH 0/3] license.bbclass fixes

2012-09-27 Thread Saul Wold
On 09/27/2012 04:50 PM, Flanagan, Elizabeth wrote: On Thu, Sep 27, 2012 at 10:08 AM, Saul Wold wrote: On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote: [YOCTO #3118] license.conf hasn't been being parsed. This commit series ensures that license.conf is parsed, that it contains useful variabl

Re: [OE-core] [PATCH 0/3] license.bbclass fixes

2012-09-27 Thread Flanagan, Elizabeth
On Thu, Sep 27, 2012 at 10:08 AM, Saul Wold wrote: > On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote: >> >> [YOCTO #3118] >> >> license.conf hasn't been being parsed. This commit series ensures that >> license.conf is parsed, that it contains useful variables that should be >> in a global conf fi

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-27 Thread Martin Jansa
On Fri, Sep 28, 2012 at 12:41 AM, Mark Hatle wrote: > Just an FYI -- Martin Jansa found a problem with the implement of the > package version comparison. > > In deb and ipk, they do not support '<' or '>', instead it's '<<' and '>>'. > (Odd, historical reasons apparently). > > While RPM doesn't ha

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-27 Thread Mark Hatle
Just an FYI -- Martin Jansa found a problem with the implement of the package version comparison. In deb and ipk, they do not support '<' or '>', instead it's '<<' and '>>'. (Odd, historical reasons apparently). While RPM doesn't have any idea what '<<' or '>>' is. Talking with RP and others

[OE-core] [PATCH] sstate: Relax the duplicate file whitelist for now

2012-09-27 Thread Richard Purdie
do_package is a machine specific task at the moment due to packagedata. This means do_package tasks and their dependencies rerun between different machines with various duplicate file installations. There are plans to fix this but they're too invasive before release. This patch relaxes the white

[OE-core] [PATCH] tcl: Fix dangerous do_install staging references

2012-09-27 Thread Richard Purdie
Nothing should ever be poking files directly into the staging/sysroot directories, it should always go through ${D}. This patch ensures this recipe does this and hence fixes various potential build issues such as lack of sstate tracking of files. Signed-off-by: Richard Purdie --- diff --git a/me

[OE-core] OE-Core Release Status

2012-09-27 Thread Richard Purdie
We're now at -rc2 for the October release of OE-Core. I've noticed a sudden surge of patches on the list, several of which are things like version increments which are no longer really appropriate at this point in the release cycle. Why haven't we branched? The plus side of branching now would be

Re: [OE-core] [PATCH] staging: Avoid staging the same binaries again and again

2012-09-27 Thread Richard Purdie
On Thu, 2012-09-27 at 22:18 +0100, Phil Blundell wrote: > On Mon, 2012-09-24 at 10:54 +0100, Richard Purdie wrote: > > sysroot_stage_* are symmetrical so I can't imagine this happening. > > > > The main worry would be something happening before sysroot_stage_all. > > SYSROOT_PREPROCESS_FUNCS happe

Re: [OE-core] [PATCH] staging: Avoid staging the same binaries again and again

2012-09-27 Thread Phil Blundell
On Mon, 2012-09-24 at 10:54 +0100, Richard Purdie wrote: > sysroot_stage_* are symmetrical so I can't imagine this happening. > > The main worry would be something happening before sysroot_stage_all. > SYSROOT_PREPROCESS_FUNCS happen afterwards so there is at least a hook > used in most cases that

Re: [OE-core] [oe-commits] Andrei Gherzan : busybox: Package hwclock.sh initscript separately

2012-09-27 Thread Martin Jansa
On Fri, Aug 17, 2012 at 05:09:34PM +, g...@git.openembedded.org wrote: > Module: openembedded-core.git > Branch: master > Commit: b97e37e1444ef32e7837dcc79e3fad36c4284b65 > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b97e37e1444ef32e7837dcc79e3fad36c4284b65 > > A

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 02:53:21PM -0500, Mark Hatle wrote: > On 9/27/12 2:40 PM, Martin Jansa wrote: > > On Thu, Sep 27, 2012 at 02:18:07PM -0500, Mark Hatle wrote: > >> On 9/27/12 2:12 PM, Martin Jansa wrote: > >>> On Thu, Sep 27, 2012 at 01:58:35PM -0500, Mark Hatle wrote: > Let me preface

Re: [OE-core] [PATCH] perl: Fix nativesdk install path

2012-09-27 Thread Mark Hatle
I had to revert this patch. With it enabled, if I enable multilibs and build for x86_64 (so my libdir == /usr/lib64), perl no longer finishes do_install(). When I revert it fixes that issue, but of course then the nativesdk is broken again. --Mark On 9/27/12 10:32 AM, Saul Wold wrote: On 09

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Mark Hatle
On 9/27/12 2:40 PM, Martin Jansa wrote: On Thu, Sep 27, 2012 at 02:18:07PM -0500, Mark Hatle wrote: On 9/27/12 2:12 PM, Martin Jansa wrote: On Thu, Sep 27, 2012 at 01:58:35PM -0500, Mark Hatle wrote: Let me preface this by I have read the patch set.. Martin asked me to comment on the items bel

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 02:18:07PM -0500, Mark Hatle wrote: > On 9/27/12 2:12 PM, Martin Jansa wrote: > > On Thu, Sep 27, 2012 at 01:58:35PM -0500, Mark Hatle wrote: > >> Let me preface this by I have read the patch set.. Martin asked me to > >> comment on > >> the items below... > >> > >> On 9/27

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Mark Hatle
On 9/27/12 2:12 PM, Martin Jansa wrote: On Thu, Sep 27, 2012 at 01:58:35PM -0500, Mark Hatle wrote: Let me preface this by I have read the patch set.. Martin asked me to comment on the items below... On 9/27/12 3:37 AM, Martin Jansa wrote: On Sat, Sep 22, 2012 at 06:45:44PM +0100, Richard Purd

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 01:58:35PM -0500, Mark Hatle wrote: > Let me preface this by I have read the patch set.. Martin asked me to comment > on > the items below... > > On 9/27/12 3:37 AM, Martin Jansa wrote: > > On Sat, Sep 22, 2012 at 06:45:44PM +0100, Richard Purdie wrote: > >> On Sat, 2012-

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Mark Hatle
Let me preface this by I have read the patch set.. Martin asked me to comment on the items below... On 9/27/12 3:37 AM, Martin Jansa wrote: On Sat, Sep 22, 2012 at 06:45:44PM +0100, Richard Purdie wrote: On Sat, 2012-09-22 at 18:51 +0200, Martin Jansa wrote: * bitbake.conf has OPTDEFAULTTUNE

[OE-core] [PATCH] xserver-xorg: Use rdepends to ensure xserver-xorg-module-exa match version

2012-09-27 Thread Otavio Salvador
This fix the installation of xserver-xorg-module-exa package at rootfs using opkg. It were failing as conflicts where not working properly. Signed-off-by: Otavio Salvador --- .../xorg-xserver/xserver-xorg-1.11.2.inc |2 +- .../recipes-graphics/xorg-xserver/xserver-xorg.inc |2 +

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-27 Thread Otavio Salvador
On Thu, Sep 27, 2012 at 2:55 PM, Martin Jansa wrote: > On Thu, Sep 27, 2012 at 05:34:19PM +0200, Martin Jansa wrote: >> On Thu, Sep 27, 2012 at 02:29:25PM +, g...@git.openembedded.org wrote: >> > Module: openembedded-core.git >> > Branch: master >> > Commit: ed0216d29fc4355c5220f3ad51df04a63ca

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 05:34:19PM +0200, Martin Jansa wrote: > On Thu, Sep 27, 2012 at 02:29:25PM +, g...@git.openembedded.org wrote: > > Module: openembedded-core.git > > Branch: master > > Commit: ed0216d29fc4355c5220f3ad51df04a63cacb0c3 > > URL: > > http://git.openembedded.org/?p=openem

Re: [OE-core] [PATCH 0/3] license.bbclass fixes

2012-09-27 Thread Saul Wold
On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote: [YOCTO #3118] license.conf hasn't been being parsed. This commit series ensures that license.conf is parsed, that it contains useful variables that should be in a global conf file and that those variables are not kept within license.bbclass. So

Re: [OE-core] [PATCH 1/1] autotools.bbclass: using relative paths for acpaths

2012-09-27 Thread Richard Purdie
On Thu, 2012-09-27 at 16:23 +0800, wenzong@windriver.com wrote: > From: Wenzong Fan > > Fix autotools.bbclass to use relative paths for acpaths instead of > absolute ones. Since absolute paths may cause potential autoreconf > error like: > > Can't exec "/bin/sh": Argument list too long .

Re: [OE-core] [PATCH 1/3] license.bbclass: Variable standardization

2012-09-27 Thread Saul Wold
On 09/26/2012 02:50 PM, Elizabeth Flanagan wrote: The variable mentioned in license.conf is LICENSE_PATH. The variable used in license.bbclass is LICENSE_DIR. Conforming to what is in license.conf Signed-off-by: Elizabeth Flanagan --- meta/classes/license.bbclass |2 +- 1 files changed,

Re: [OE-core] [PATCH] sstate-cache-management: hide error message when one of possible layer location doesn't exist

2012-09-27 Thread Saul Wold
On 09/27/2012 12:36 AM, Martin Jansa wrote: * fixes [YOCTO #3116] Signed-off-by: Martin Jansa --- scripts/sstate-cache-management.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index f519555..4c0

Re: [OE-core] [PATCH] gnome-keyring: include unpackaged files with PAM enabled

2012-09-27 Thread Saul Wold
On 09/27/2012 01:17 AM, Constantin Musca wrote: Include missing files/dirs: ${base_libdir}/security/*.la ${base_libdir}/security/*${SOLIBSDEV} ${base_libdir}/security/.debug/ [YOCTO #2805] Signed-off-by: Constantin Musca --- meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |

Re: [OE-core] [PATCH 0/1] autotools.bbclass: using relative paths for acpaths

2012-09-27 Thread Saul Wold
On 09/27/2012 01:23 AM, wenzong@windriver.com wrote: From: Wenzong Fan Fix autotools.bbclass to use relative paths for acpaths instead of absolute ones. Since absolute paths may cause potential autoreconf error like: Can't exec "/bin/sh": Argument list too long ... This error occurs

Re: [OE-core] [PATCH] qemu-native: fix build on hosts without libX11 installed

2012-09-27 Thread Saul Wold
On 09/22/2012 03:30 AM, Martin Jansa wrote: Signed-off-by: Martin Jansa --- meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb index 7091f6d..191

Re: [OE-core] [PATCH] kexec-tools: admit mips as a COMPATIBLE_HOST

2012-09-27 Thread Saul Wold
On 09/24/2012 04:49 AM, Phil Blundell wrote: Signed-off-by: Phil Blundell --- meta/recipes-kernel/kexec/kexec-tools.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc index 278ce34..

Re: [OE-core] [PATCH] package_ipk: Remove spurious '-i' in grep command for log_check

2012-09-27 Thread Saul Wold
On 09/26/2012 04:55 AM, Phil Blundell wrote: ipk_log_check uses a case-sensitive grep (which is correct) when deciding whether there were any errors or not. But if it decides that there were, it then uses a case-insensitive grep to display them. This results in a large amount of irrelevant and

Re: [OE-core] [oe-core] ysvinit-inittab: fix hang issue of series consoles check

2012-09-27 Thread Saul Wold
On 09/26/2012 12:18 AM, b19...@freescale.com wrote: From: Zhenhua Luo the kernel boot process hangs when /proc/consoles doesn't exists, check the existence of /proc/consoles before executing pkg_postinst script. Following is the log when /proc/consoles doesn't exist: Ru

Re: [OE-core] [PATCH] at: atd remove useless --make-pidfile option.

2012-09-27 Thread Saul Wold
On 09/26/2012 12:09 AM, Xin Ouyang wrote: For start-stop-daemon, --make-pidfile is used when starting a program that does not create its own pid file. atd would create its own /var/run/atd.pid, so remove this option. Signed-off-by: Xin Ouyang --- meta/recipes-extended/at/at_3.1.13.bb |2 +

Re: [OE-core] [PATCH 0/1] Correcting LICENSE for ossp-uuid

2012-09-27 Thread Saul Wold
On 09/25/2012 03:31 PM, Elizabeth Flanagan wrote: LICENSE information for ossp-uuid was tossing a warning. this fixes license as well as provides a more detailed LIC_FILES_CHKSUM. The following changes since commit a8edf79fce381d0433f18bd38df6cd74008e5179: bitbake: fetch2/git: Don't use depr

Re: [OE-core] [PATCH] SDK: trap any IO errors in the relocate script

2012-09-27 Thread Saul Wold
On 09/25/2012 09:35 AM, Laurentiu Palcu wrote: BTW: in the future it's good to say the "filename: " So this would be "relocate_sdk.py: " If the files being relocated are already used by other processes the relocate script will fail with a traceback. This patch will trap any IO errors when o

Re: [OE-core] [PATCH] iproute2: Use configured values for ${base_sbindir} and ${libdir}

2012-09-27 Thread Saul Wold
On 09/25/2012 09:38 AM, Phil Blundell wrote: These were previously being hard-coded to "/sbin" and "/usr/lib" respectively, resulting in unpackaged files if the configured values were something else. Signed-off-by: Phil Blundell --- meta/recipes-connectivity/iproute2/iproute2.inc |2

Re: [OE-core] [PATCH] layer.conf: allow other layers to depend on this version

2012-09-27 Thread Saul Wold
On 09/25/2012 07:58 AM, Paul Eggleton wrote: Set LAYERVERSION and rename the collection to "core". Given changes such as the tabs to spaces cleanup for python functions in the current version, this allows other layers to depend on this version of OE-Core specifically should they choose to do so,

Re: [OE-core] [oe-core][PATCH 00/10] qt4: upgrade to 4.8.3 and cleanup

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 04:10:20PM +0100, Paul Eggleton wrote: > On Thursday 27 September 2012 00:27:05 Martin Jansa wrote: > > Please test on more architectures. > > I've tested complete qt4-native + qt4-free-x11 on armv4t. > > And only do_patch for nativesdk-qt4-tools, qt-mobility-*, qt4-embedded

Re: [OE-core] [PATCH 0/2] package_rpm.bbclass: two fixes

2012-09-27 Thread Saul Wold
On 09/25/2012 06:38 AM, Robert Yang wrote: * Two fixes - Change the arch's "-" to "_" in /etc/rpm/platform - Fix the incremental rpm image generation // Robert The following changes since commit 8b3aa00029e62df6d05710cf166fd5d09bdb29cf: documentation/poky-ref-manual/ref-variables.xml:

Re: [OE-core] [PATCH] jpeg-native: Do not use libtool-cross for native recipe

2012-09-27 Thread Khem Raj
On Thu, Sep 27, 2012 at 8:16 AM, Richard Purdie wrote: > On Thu, 2012-09-27 at 07:14 -0700, Khem Raj wrote: >> On Wed, Sep 26, 2012 at 6:59 AM, Richard Purdie >> wrote: >> > On Tue, 2012-09-25 at 06:27 -0700, Khem Raj wrote: >> >> On Tue, Sep 25, 2012 at 1:14 AM, Richard Purdie >> >> wrote: >> >

Re: [OE-core] [PATCH 1/2] package_rpm.bbclass: change the arch's "-" to "_" for platform

2012-09-27 Thread Saul Wold
On 09/25/2012 06:38 AM, Robert Yang wrote: The platform and platform_extra will be written to /etc/rpm/platform, the rpm's arch has changed the "-" to "_", so the value in platform should also be updated. [YOCTO #3159] Signed-off-by: Robert Yang --- meta/classes/package_rpm.bbclass | 4 ++--

Re: [OE-core] [PATCH] util-linux: Remove static libraries from -dev packages

2012-09-27 Thread Saul Wold
On 09/25/2012 05:54 AM, Phil Blundell wrote: Fixes the QA warnings: WARNING: QA Issue: non -staticdev package contains static .a library: util-linux-libblkid-dev path '/work/mips32el-oe-linux/util-linux/2.21.2-r3micro3/packages-split/util-linux-libblkid-dev/lib/libblkid.a' WARNING: QA Issue: n

Re: [OE-core] [PATCH] util-linux: Don't package chkdupexe

2012-09-27 Thread Saul Wold
On 09/25/2012 06:04 AM, Phil Blundell wrote: The chkdupexe utility is fairly worthless and drags perl in as a build dependency of the whole util-linux recipe. If anybody actually wants to use this script then we should package it separately, but for the time being let's just delete it. Signed

Re: [OE-core] [PATCH] cml1.bbclass: Convert tab indentation in python functions into four-space

2012-09-27 Thread Saul Wold
On 09/27/2012 06:52 AM, Jason Wessel wrote: Based on the previous commit 604d46c686d06d62d5a07b9c7f4fa170f99307d8 (Convert tab indentation in python functions into four-space), the cml.bbclass was not converted, and in order to properly extend it with external bbappend's it needs to be converted.

Re: [OE-core] [PATCH] eglibc: Remove bogus PACKAGES_DYNAMIC setting

2012-09-27 Thread Saul Wold
On 09/27/2012 04:44 AM, Phil Blundell wrote: It transpires that eglibc has been setting PACKAGES_DYNAMIC = "libc6*" for some time. However, this is bogus for at least two reasons: 1. Bitbake interprets PACKAGES_DYNAMIC as a regex, not a glob, so this will match against any package whose name st

Re: [OE-core] [oe-commits] Martin Jansa : xserver-xorg: use EXTENDPKGV instead of PV in RCONFLICTS_${PN}-module-exa

2012-09-27 Thread Martin Jansa
On Thu, Sep 27, 2012 at 02:29:25PM +, g...@git.openembedded.org wrote: > Module: openembedded-core.git > Branch: master > Commit: ed0216d29fc4355c5220f3ad51df04a63cacb0c3 > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ed0216d29fc4355c5220f3ad51df04a63cacb0c3 > > A

Re: [OE-core] [PATCH] dbus: disable all X11 when native

2012-09-27 Thread Saul Wold
On 09/26/2012 01:25 PM, Ross Burton wrote: Without --without-x the X11 detection would still go ahead and find the host X11 headers, which seems to cause problems at link time. Signed-off-by: Ross Burton --- meta/recipes-core/dbus/dbus.inc |4 ++-- 1 file changed, 2 insertions(+), 2 dele

Re: [OE-core] [PATCH] perl: Fix nativesdk install path

2012-09-27 Thread Saul Wold
On 09/27/2012 05:20 AM, Christian Glindkamp wrote: Commit 38234f2e276356b1d77a87ceabc486107e336d19 tried to fix the sed expressions by anchoring the left side of the search regexp to prevent $prefix$prefix type expression in the perl config. For nativesdk this is not enough. Adding anchors on bot

Re: [OE-core] overuse of bitbake flags considered harmful

2012-09-27 Thread Richard Purdie
On Thu, 2012-09-27 at 13:22 +0100, Phil Blundell wrote: > I was mildly amused to discover, the other day, that the output of > "bitbake -e rpm | grep PACKAGECONFIG" is not quite as one might naïvely > expect. > > I guess the right response to this is perhaps that bitbake ought > nowadays to find

Re: [OE-core] [PATCH] jpeg-native: Do not use libtool-cross for native recipe

2012-09-27 Thread Richard Purdie
On Thu, 2012-09-27 at 07:14 -0700, Khem Raj wrote: > On Wed, Sep 26, 2012 at 6:59 AM, Richard Purdie > wrote: > > On Tue, 2012-09-25 at 06:27 -0700, Khem Raj wrote: > >> On Tue, Sep 25, 2012 at 1:14 AM, Richard Purdie > >> wrote: > >> > This wallpapers over cracks. Why is libtool-native/libtool-c

Re: [OE-core] [oe-core][PATCH 00/10] qt4: upgrade to 4.8.3 and cleanup

2012-09-27 Thread Paul Eggleton
On Thursday 27 September 2012 00:27:05 Martin Jansa wrote: > Please test on more architectures. > I've tested complete qt4-native + qt4-free-x11 on armv4t. > And only do_patch for nativesdk-qt4-tools, qt-mobility-*, qt4-embedded. So this is great work and these patches look good, although I'm stil

[OE-core] Fail in perl-native_5.14.2.bb

2012-09-27 Thread Steven Munk Østergaard
Hello, peace be with thee... :) I found a mistake in the "do_configure()" function of: "perl-native_5.14.2.bb" I am not experienced enough with mailing list to produce patches, but i will try... Explanation: sed is in " -e "s%/perl5%/perl%g" \ " replacing parts of @DESTDIR@ which makes its

[OE-core] [PATCH 1/2] initrd: Spawn an emergency shell when something goes wrong

2012-09-27 Thread Ross Burton
From: Damien Lespiau set -e allows to exit if a command fails. We install a trap and execute emergency_shell() when either the init script exits or when ctrl-c is typed (say if we are stuck somewhere and we want to debug it). Signed-off-by: Damien Lespiau Signed-off-by: Ross Burton --- meta/r

[OE-core] [PATCH 0/2] initramfs fixes

2012-09-27 Thread Ross Burton
A colleague was working on an initramfs-based yocto system and encounting some issues because the initial script is quite fragile. Attached are two patches to make it less fragile, and drop you to a shell if it does break. The following changes since commit 55b3e7bf48a67c0ce42308b8332262fbe4eccd2

[OE-core] [PATCH 2/2] initramfs: Make mkdir not fail

2012-09-27 Thread Ross Burton
From: Damien Lespiau This patch make "mkdir foo" not fail if foo already exists. Signed-off-by: Damien Lespiau Signed-off-by: Ross Burton --- meta/recipes-core/initrdscripts/files/init-live.sh |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/initr

Re: [OE-core] [PATCH] jpeg-native: Do not use libtool-cross for native recipe

2012-09-27 Thread Khem Raj
On Wed, Sep 26, 2012 at 6:59 AM, Richard Purdie wrote: > On Tue, 2012-09-25 at 06:27 -0700, Khem Raj wrote: >> On Tue, Sep 25, 2012 at 1:14 AM, Richard Purdie >> wrote: >> > This wallpapers over cracks. Why is libtool-native/libtool-cross broken? >> > Shouldn't we fix whatever is breaking libtool

[OE-core] [PATCH] cml1.bbclass: Convert tab indentation in python functions into four-space

2012-09-27 Thread Jason Wessel
Based on the previous commit 604d46c686d06d62d5a07b9c7f4fa170f99307d8 (Convert tab indentation in python functions into four-space), the cml.bbclass was not converted, and in order to properly extend it with external bbappend's it needs to be converted. Signed-off-by: Jason Wessel --- meta/class

[OE-core] [PATCH v2] sanity.bbclass: bblayers.conf should be updated automatically

2012-09-27 Thread Constantin Musca
- add check_bblayers_conf bitbake function which does the bblayers.conf v4 -> v5 update if necessary (every layer should make its specific bblayers.conf upgrades appending to the check_bblayers_conf function) - we ask the user to re-run bitbake because we can't trigger reparsing without being invas

[OE-core] [PATCH 3/3] insane.bbclass: add AArch64 support

2012-09-27 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- meta/classes/insane.bbclass |1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 1fb8970..b390242 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -44,6 +44,7 @@ de

[OE-core] [PATCH 2/3] kernel-arch.bblass: add AArch64 support

2012-09-27 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- meta/classes/kernel-arch.bbclass |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 6446504..b3b78b6 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/class

[OE-core] [PATCH 1/3] siteinfo.bbclass: add AArch64 support

2012-09-27 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- meta/classes/siteinfo.bbclass |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 8c256ce..aab0867 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -18,6

[OE-core] Add AArch64 support into OE-Core

2012-09-27 Thread Marcin Juszkiewicz
This patchset adds support for AArch64 in all required classes: - insane - kernel-arch - siteinfo Everything is from public available information (binutils, linux). ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lis

[OE-core] overuse of bitbake flags considered harmful

2012-09-27 Thread Phil Blundell
I was mildly amused to discover, the other day, that the output of "bitbake -e rpm | grep PACKAGECONFIG" is not quite as one might naïvely expect. I guess the right response to this is perhaps that bitbake ought nowadays to find some other way to store its own internal state, since the idiom of

[OE-core] [PATCH] perl: Fix nativesdk install path

2012-09-27 Thread Christian Glindkamp
Commit 38234f2e276356b1d77a87ceabc486107e336d19 tried to fix the sed expressions by anchoring the left side of the search regexp to prevent $prefix$prefix type expression in the perl config. For nativesdk this is not enough. Adding anchors on both side fixes this. Signed-off-by: Christian Glindkam

[OE-core] [PATCH] eglibc: Remove bogus PACKAGES_DYNAMIC setting

2012-09-27 Thread Phil Blundell
It transpires that eglibc has been setting PACKAGES_DYNAMIC = "libc6*" for some time. However, this is bogus for at least two reasons: 1. Bitbake interprets PACKAGES_DYNAMIC as a regex, not a glob, so this will match against any package whose name starts "libc" plus zero or more sixes. This is pa

Re: [OE-core] perl-nativesdk interesting fail in do_install

2012-09-27 Thread Christian Glindkamp
On 2012-09-24 12:28, Marcin Juszkiewicz wrote: > I want to build 'meta-toolchain' but on my Ubuntu 12.10 it fails on > 'nativesdk-perl' recipe in do_install: > > | > /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/perl/5.14.2/pod/per

Re: [OE-core] [PATCH] gdk-pixbuf: Use qemu to run postinsts in offline root mode

2012-09-27 Thread Phil Blundell
On Wed, 2012-09-26 at 13:28 +0100, Phil Blundell wrote: > On Wed, 2012-09-26 at 14:23 +0200, Martin Jansa wrote: > > On Wed, Sep 26, 2012 at 01:11:44PM +0100, Phil Blundell wrote: > > > This makes it possible to use gdk-pixbuf on a read-only rootfs. > > > > Isn't this issue resolved in "[RFC 0/7]

[OE-core] [PATCH] gnome-keyring: include unpackaged files with PAM enabled

2012-09-27 Thread Constantin Musca
Include missing files/dirs: ${base_libdir}/security/*.la ${base_libdir}/security/*${SOLIBSDEV} ${base_libdir}/security/.debug/ [YOCTO #2805] Signed-off-by: Constantin Musca --- meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb |9 ++--- 1 file changed, 6 insertions(+), 3 dele

Re: [OE-core] [oe-core][RFC 2/5] tune-xscale, tune-arm926ejs: add OPTDEFAULTTUNE variable and use more generic DEFAULTTUNE as default

2012-09-27 Thread Martin Jansa
On Sat, Sep 22, 2012 at 06:45:44PM +0100, Richard Purdie wrote: > On Sat, 2012-09-22 at 18:51 +0200, Martin Jansa wrote: > > * bitbake.conf has OPTDEFAULTTUNE with weak default value of DEFAULTTUNE > > * this way xscale or arm926ejs is not used by default when some machine > > includes its tune*.

[OE-core] [PATCH 0/1] autotools.bbclass: using relative paths for acpaths

2012-09-27 Thread wenzong.fan
From: Wenzong Fan Fix autotools.bbclass to use relative paths for acpaths instead of absolute ones. Since absolute paths may cause potential autoreconf error like: Can't exec "/bin/sh": Argument list too long ... This error occurs while building coreutils with long TMPDIR, because it has bu

[OE-core] [PATCH 1/1] autotools.bbclass: using relative paths for acpaths

2012-09-27 Thread wenzong.fan
From: Wenzong Fan Fix autotools.bbclass to use relative paths for acpaths instead of absolute ones. Since absolute paths may cause potential autoreconf error like: Can't exec "/bin/sh": Argument list too long ... This error occurs while building coreutils with long TMPDIR, because it has bu

[OE-core] [PATCH] sstate-cache-management: hide error message when one of possible layer location doesn't exist

2012-09-27 Thread Martin Jansa
* fixes [YOCTO #3116] Signed-off-by: Martin Jansa --- scripts/sstate-cache-management.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sstate-cache-management.sh b/scripts/sstate-cache-management.sh index f519555..4c06fe8 100755 --- a/scripts/sstate-cache-managemen