[OE-core] unable to use bitbake -c populate_sdk core-image-minimal on dora

2013-11-29 Thread Nicolas Dechesne
hi, i am unable to build a proper SDK for core-image-minimal using OE-core + dora. I am seeing I think 2 different problems. 1- problem related to update-alternative and opkg: update-alternatives: Error: cannot register alternative opkg to /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr

[OE-core] [PATCH] cpan-base: Add vardepvalue to get_perl_version function

2013-11-29 Thread Martin Jansa
* without this bitbake -S perf shows following error: ERROR: Bitbake's cached basehash does not match the one we just generated (/OE/oe-core/meta/recipes-kernel/perf/perf.bb.do_package)! if you run it twice, once without perl in sysroot and once with perl already built Signed-off-by: Mar

Re: [OE-core] PERLVERSION sometimes changing sstate signature

2013-11-29 Thread Richard Purdie
On Wed, 2013-11-27 at 02:19 +0100, Martin Jansa wrote: > Sometimes it's shown in > bitbake -S perf (or any other perl using recipes) > > NOTE: Reparsing files to collect dependency data > ERROR: Bitbake's cached basehash does not match the one we just generated >(/OE/oe-core/meta/recipes-k

Re: [OE-core] [PATCH] qt4-x11-free: depend on ICU

2013-11-29 Thread Burton, Ross
On 29 November 2013 14:47, Paul Eggleton wrote: > It seems like ICU might still have problems building for PowerPC. If that's > the case, we should probably be explicitly disabling ICU for that > architecture, right? >From discussion with Richard he reminded me that the problem is where host and

Re: [OE-core] Automated testing on real hardware

2013-11-29 Thread Paul Eggleton
Hi Nicolas, On Friday 29 November 2013 17:31:40 Nicolas Dechesne wrote: > On Fri, Nov 29, 2013 at 4:58 PM, Paul Eggleton < > paul.eggle...@linux.intel.com> wrote: > > * It requires root to run, since it mounts the images temporarily and > > modifies the contents. We've done quite a lot to avoid ha

[OE-core] [PATCH] eglibc-initial.inc: Drop duplicate include

2013-11-29 Thread Richard Purdie
There is little point in including the file twice so lets not. The main recipe already included it. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc index 83b1d2c..0f0e1cd 100644 --- a/meta/recipes-core/eglib

Re: [OE-core] Automated testing on real hardware

2013-11-29 Thread Nicolas Dechesne
Paul, On Fri, Nov 29, 2013 at 4:58 PM, Paul Eggleton < paul.eggle...@linux.intel.com> wrote: > LAVA > - > > A number of people had suggested I look at LAVA [1]. It is split into > different > components for each function, some of which should be usable independently > so > you don't have to

[OE-core] Automated testing on real hardware

2013-11-29 Thread Paul Eggleton
Hi folks, (warning - long email ahead) As I've talked about recently, one of the things I'm looking into at the moment is how to do automated QA for Yocto Project releases on real hardware. The Yocto Project QA team does tests on the supported reference platforms for each architecture for ever

Re: [OE-core] [PATCH] image.bbclass: Depend on virtual/kernel:do_deploy

2013-11-29 Thread Martin Jansa
On Fri, Nov 29, 2013 at 02:36:42PM +, Richard Purdie wrote: > Now that none of the packagegroups depend on virtual/kernel, we have the > problem > that MACHINE=qemumips bitbake core-image-minimal doesn't put a kernel > into the deploy directory. This breaks many common usecases and > user expe

Re: [OE-core] Perl CPAN module install path bug in cpan_build.bbclass?

2013-11-29 Thread Koen Kooi
Op 29 nov. 2013, om 15:40 heeft Richard Purdie het volgende geschreven: > On Fri, 2013-11-29 at 14:47 +0100, Koen Kooi wrote: >> Op 29 nov. 2013, om 09:45 heeft Koen Kooi het >> volgende geschreven: >> >>> Hi, >>> >>> I've been working on perl modules and I noticed some of them don't work

Re: [OE-core] [PATCH] qt4-x11-free: depend on ICU

2013-11-29 Thread Paul Eggleton
Hi Ross, On Friday 29 November 2013 13:51:05 Ross Burton wrote: > ICU presence is auto-detected at configure time and until recently (e68850 > and d61230) was pulled into most builds through harfbuzz and beecrypt. Now > it's floating and this leads to build failures. > > As in all likelihood the

Re: [OE-core] Perl CPAN module install path bug in cpan_build.bbclass?

2013-11-29 Thread Richard Purdie
On Fri, 2013-11-29 at 14:47 +0100, Koen Kooi wrote: > Op 29 nov. 2013, om 09:45 heeft Koen Kooi het > volgende geschreven: > > > Hi, > > > > I've been working on perl modules and I noticed some of them don't work > > properly and nearly all of the non-working ones are Build.PL based and use >

[OE-core] [PATCH] image.bbclass: Depend on virtual/kernel:do_deploy

2013-11-29 Thread Richard Purdie
Now that none of the packagegroups depend on virtual/kernel, we have the problem that MACHINE=qemumips bitbake core-image-minimal doesn't put a kernel into the deploy directory. This breaks many common usecases and user expectations. To avoid this, add a dependency on the kernel deploy to image do

[OE-core] [PATCH] sqlite3: Fix configure option warning

2013-11-29 Thread Richard Purdie
WARNING: QA Issue: sqlite3: configure was passed unrecognised options: --disable-tcl There is no tcl option or support now so remove the option. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 3fa8d4c..064d7

[OE-core] [PATCH] util-linux: Remove obsolete configure options

2013-11-29 Thread Richard Purdie
WARNING: QA Issue: util-linux-native: configure was passed unrecognised options: --enable-rdev --enable-init --enable-arch --with-fsprobe Remove obsolete configure options to silence warning. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/reci

[OE-core] [PATCH] qt4-x11-free: depend on ICU

2013-11-29 Thread Ross Burton
ICU presence is auto-detected at configure time and until recently (e68850 and d61230) was pulled into most builds through harfbuzz and beecrypt. Now it's floating and this leads to build failures. As in all likelihood the majority of people were building this with ICU enabled, add an explicit de

Re: [OE-core] Perl CPAN module install path bug in cpan_build.bbclass?

2013-11-29 Thread Koen Kooi
Op 29 nov. 2013, om 09:45 heeft Koen Kooi het volgende geschreven: > Hi, > > I've been working on perl modules and I noticed some of them don't work > properly and nearly all of the non-working ones are Build.PL based and use > cpan_build.bbclass. > > A working module looks like this: >

[OE-core] [PATCH] linux-firmware: Remove bash scripts from target package

2013-11-29 Thread Richard Purdie
The carl9170fw is unbuilt, needs specialise toolchains, cmake and so on so we might as well delete it (and lose the bash dependnecy). Equally, the top level bash dependency from the empty configure script is pointless. [YOCTO #] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-ke

Re: [OE-core] [PATCH 01/18] linux-firmware: de-bash scripts to remove bash dependency

2013-11-29 Thread Richard Purdie
On Fri, 2013-11-29 at 20:48 +0800, qi.c...@windriver.com wrote: > From: Chen Qi > > De-bash some script in linux-firmware to make it not dependent on > bash. > > [YOCTO #] > > Signed-off-by: Chen Qi > --- > .../files/0001-linux-firmware-de-bash.patch| 47 >

[OE-core] [PATCH] libsdl: Clean up configure option QA warnings

2013-11-29 Thread Richard Purdie
WARNING: QA Issue: nativesdk-libsdl: configure was passed unrecognised options: --disable-video-gem --disable-video-xbios --enable-dlopen --disable-debug --enable-endian The gem and xbios options exist but their helptext is wrong and there is no "video" in the name. This patch removes the now ob

[OE-core] [PATCH] adt_installer: Fix missing autogen.sh error

2013-11-29 Thread Richard Purdie
With the transition from svn -> tarball release, this issue was missed. Instead of using autogen.sh, we can call configure directly. [YOCTO #5606] Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-ins

[OE-core] [PATCH 08/18] lsbtest: de-bash script to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi De-bash scripts in lsbtest to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh b/meta/re

[OE-core] [PATCH 15/18] ltp: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make ltp explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/ltp/ltp_20130904.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[OE-core] [PATCH 17/18] pax-utils: add bash runtime dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi Make pax-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-devtools/pax-utils/pax-utils_0.7.bb |2 ++ 1 file changed, 2 insertions(+) diff --git a/

[OE-core] [PATCH 18/18] kernel.bbclass: make kernel-dev explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make kernel-dev explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/classes/kernel.bbclass |1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel.bb

[OE-core] [PATCH 10/18] rpm: fix RDEPENDS for rpm-build

2013-11-29 Thread Qi.Chen
From: Chen Qi Fix RDEPENDS for rpm-build. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-devtools/rpm/rpm_5.4.9.bb |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 4b95a90..84

[OE-core] [PATCH 04/18] hdparm: make wiper appear before hdparm in PACKAGES

2013-11-29 Thread Qi.Chen
From: Chen Qi Make wiper appear before hdparm in PACKAGES so that wiper is packaged correctly. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/hdparm/hdparm_9.43.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/hdparm/hdparm_9.43.b

[OE-core] [PATCH 16/18] kconfig-frontends: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make kconfig-frontends explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- .../kconfig-frontends_3.12.0.0.bb |1 + 1 file changed, 1 insertion(+) diff

[OE-core] [PATCH 03/18] libpam: make libpam-xtests rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make libpam-xtests explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/pam/libpam_1.1.6.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[OE-core] [PATCH 09/18] libtool: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make libtool explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-devtools/libtool/libtool-2.4.2.inc |1 + 1 file changed, 1 insertion(+) diff --git a/meta/

[OE-core] [PATCH 12/18] apt: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make apt explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-devtools/apt/apt_0.9.9.4.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[OE-core] [PATCH 14/18] pm-utils: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make pm-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-bsp/pm-utils/pm-utils_1.4.1.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH 02/18] apr: make the dev package rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make apr-dev explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-support/apr/apr_1.4.8.bb |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-su

[OE-core] [PATCH 07/18] dtc: make dtc-misc rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make dtc-misc explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-kernel/dtc/dtc.inc |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-kernel/

[OE-core] [PATCH 13/18] gzip: explicitly rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make gzip explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/gzip/gzip.inc |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-exten

[OE-core] [PATCH 11/18] nfs-utils: add bash to RDEPENDS

2013-11-29 Thread Qi.Chen
From: Chen Qi Make nfs-utils explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- .../nfs-utils/nfs-utils_1.2.9.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[OE-core] [PATCH 05/18] lsb: de-bash scripts to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi De-bash some script in lsb to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/lsb/lsb/lsb_killproc |2 +- meta/recipes-extended/lsb/lsb/lsb_log_message |2 +- meta/recipes-extended/lsb/lsb/lsb_pidofproc|2 +- met

[OE-core] [PATCH 06/18] xz: rdepend on bash

2013-11-29 Thread Qi.Chen
From: Chen Qi Make xz explicitly rdepend on bash so that the rootfs task will not fail for the reason of implicit runtime bash dependency. [YOCTO #] Signed-off-by: Chen Qi --- meta/recipes-extended/xz/xz_5.1.3alpha.bb |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-e

[OE-core] [PATCH 00/18] Fix the problem of implicit bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi If package A has implicit bash dependency but there's no explicit runtime dependency written in its recipe, the rootfs task would fail if A is intalled onto an image which doesn't have installed. For example, if we add nfs-utils to core-image-minimal via: IMAGE_INSTALL_append =

[OE-core] [PATCH 01/18] linux-firmware: de-bash scripts to remove bash dependency

2013-11-29 Thread Qi.Chen
From: Chen Qi De-bash some script in linux-firmware to make it not dependent on bash. [YOCTO #] Signed-off-by: Chen Qi --- .../files/0001-linux-firmware-de-bash.patch| 47 .../linux-firmware/linux-firmware_git.bb |3 +- 2 files changed, 49 inse

Re: [OE-core] [PATCH V2 0/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread ChenQi
Please ignore V2 of this patch. I sent out the some backup files by accident. Sorry for the inconvenience. //Chen Qi On 11/29/2013 08:14 PM, qi.c...@windriver.com wrote: From: Chen Qi The following changes since commit 32adaac34a614d106e6dd3e9f1130f4e94ff39ae: libpng: set reasonable SUMM

[OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi Add busybox_git.bb recipe so that it would be easier to hack with busybox. Set DEFAULT_PREFERENCE to "-1" in the git recipe so that we still use the busybox_1.21.1.bb recipe by default. Signed-off-by: Chen Qi --- .../busybox-appletlib-dependency.patch |0 ...usybo

[OE-core] [PATCH V2 0/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi The following changes since commit 32adaac34a614d106e6dd3e9f1130f4e94ff39ae: libpng: set reasonable SUMMARY (2013-11-27 11:51:25 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/busybox-git http://git.pokylinux.org/cgit.cgi/poky-con

Re: [OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread ChenQi
On 11/29/2013 08:04 PM, Burton, Ross wrote: On 29 November 2013 11:56, wrote: +PREFERRED_VERSION_busybox ?= "1.21.1" A better long-term solution is to set DEFAULT_PREFERENCE="-1" in the git recipe itself. Ross Thanks! I'll send out a V2 :) Best Regards, Chen Qi

Re: [OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Burton, Ross
On 29 November 2013 11:56, wrote: > +PREFERRED_VERSION_busybox ?= "1.21.1" A better long-term solution is to set DEFAULT_PREFERENCE="-1" in the git recipe itself. Ross ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://

[OE-core] [PATCH 1/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi Add busybox_git.bb recipe so that it would be easier to hack with busybox. Default the PREFERRED_VERSION to "1.21.1" so that we still use busybox_1.21.1.bb as the default busybox recipe. Signed-off-by: Chen Qi --- meta/conf/distro/include/default-versions.inc |2 + .../b

[OE-core] [PATCH 0/1] busybox: add busybox_git.bb recipe

2013-11-29 Thread Qi.Chen
From: Chen Qi The following changes since commit 32adaac34a614d106e6dd3e9f1130f4e94ff39ae: libpng: set reasonable SUMMARY (2013-11-27 11:51:25 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/busybox-git http://git.pokylinux.org/cgit.cgi/poky-con

[OE-core] [PATCH] perl: fixed ptest cases failed

2013-11-29 Thread Chong.Lu
From: Chong Lu Some ptest cases failed, because perl ptest depends on source code. In order to make test cases to pass, we copy source code to target to resolve dependence issue. perl-dev provides some files for test cases, so we make perl ptest relies on it. Signed-off-by: Chong Lu --- meta/r

[OE-core] [PATCH] alsa-state: add status command

2013-11-29 Thread jackie.huang
From: Li Wang Signed-off-by: Li Wang --- meta/recipes-bsp/alsa-state/alsa-state/alsa-state-init | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/recipes-bsp/alsa-state/alsa-state/alsa-state-init b/meta/recipes-bsp/alsa-state/alsa-state/alsa-state-init index 9850791..eee59cb

[OE-core] [PATCH] apmd: add status command

2013-11-29 Thread jackie.huang
From: Li Wang Signed-off-by: Li Wang --- meta/recipes-bsp/apmd/apmd-3.2.2-14/init | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/init b/meta/recipes-bsp/apmd/apmd-3.2.2-14/init index 268d4b2..c0b41aa 100755 --- a/meta/recipes-bsp

[OE-core] [PATCH] ppp: add status command

2013-11-29 Thread jackie.huang
From: Li Wang Signed-off-by: Li Wang --- meta/recipes-connectivity/ppp/ppp-2.4.5/init | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/ppp/ppp-2.4.5/init b/meta/recipes-connectivity/ppp/ppp-2.4.5/init index 5b3b7ab..0c01360 100755 --- a/meta

[OE-core] Perl CPAN module install path bug in cpan_build.bbclass?

2013-11-29 Thread Koen Kooi
Hi, I've been working on perl modules and I noticed some of them don't work properly and nearly all of the non-working ones are Build.PL based and use cpan_build.bbclass. A working module looks like this: [koen@rrmbp v2013.06]$ dpkg-deb -c deploy/eglibc/ipk/armv7ahf-vfp-neon/perl-modu

Re: [OE-core] [PATCH] gzip: fix MakeMaker issues with using wrong SHELL/GREP

2013-11-29 Thread Ming Liu
On 11/28/2013 06:26 PM, Ming Liu wrote: Paths of shell/grep is being determined by detecting from host at configure stage, and then will be hard coded into scripts like zgrep, this would cause a following runtime error: "/usr/bin/zgrep: line 230: /usr/bin/grep: No such file or directory" Fixed b