[OE-core] [RFC][PATCHv3] autotools.bbclass, cmake.bbclass, perf: don't re-create ${B}

2015-09-21 Thread Martin Jansa
* otherwise there is race-condition between do_configure rm+mkdir and bitbake trying to use it as CWD for do_populate_lic task, which results in errors like this: NOTE: recipe perf-1.0-r9: task do_configure: Started NOTE: recipe perf-1.0-r9: task do_populate_lic: Started ERROR: Build of do_pop

Re: [OE-core] [RFC][PATCHv2] cmake.bbclass, perf: don't re-create ${B}

2015-09-21 Thread Martin Jansa
On Mon, Sep 21, 2015 at 09:55:56PM +0100, Burton, Ross wrote: > On 21 September 2015 at 21:33, Martin Jansa wrote: > > > * otherwise there is race-condition between do_configure rm+mkdir and > > bitbake trying to use it as CWD for do_populate_lic task, which > > results in errors like this: >

[OE-core] [PATCH 0/1] runqemu-extract-sdk: allow install debugfs on rootfs

2015-09-21 Thread Robert Yang
The following changes since commit 72682d72b52355c3fed947167ca3c6064340ead1: autotools.bbclass: mkdir ${B} -> mkdir -p ${B} (2015-09-16 22:17:19 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/extract http://cgit.openembedded.org/cgi

[OE-core] [PATCH 1/1] runqemu-extract-sdk: allow install debugfs on rootfs

2015-09-21 Thread Robert Yang
Usually, the debugfs' (-dbg.tar.*) work follow is: 1) Install regular rootfs to dir_foo 2) Install debugfs (-dbg.tar.*) to the same dir_foo So we need allow install debugfs on rootfs. Signed-off-by: Robert Yang --- scripts/runqemu-extract-sdk |4 +++- 1 file changed, 3 insertions(+), 1 dele

Re: [OE-core] [PATCH 0/6] Fixes for mutilib SDK

2015-09-21 Thread Robert Yang
Hi RP and Ross, These patches are required by multilib's do_rootfs and do_populate_sdk, otherwise they are broken or partly broken. These patches don't affect do_rootfs or do_populate_sdk without multilib are to be installed. // Robert On 09/16/2015 10:04 AM, Robert Yang wrote: * This fixed:

Re: [OE-core] [PATCH 1/4] gtk+/cairo: enable x11 or directfb

2015-09-21 Thread Robert Yang
On 09/19/2015 04:23 AM, Burton, Ross wrote: On 16 September 2015 at 11:34, Robert Yang mailto:liezhi.y...@windriver.com>> wrote: Make the world build OK when possible, for example, when no x11 in DISTRO_FEATURE. But now you're just explicitly ignoring the directfb DISTRO_FEATURE. M

[OE-core] [PATCH] libksba: fix pkgconfig patch

2015-09-21 Thread Trevor Woerner
Add '$' to fix a patch which adds pkgconfig support to libksba. Signed-off-by: Trevor Woerner --- meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libksba/libksba/ksba-add-pkgconfig-sup

Re: [OE-core] [PATCH 5/8] openssl: Add nios2 configuration

2015-09-21 Thread Marek Vasut
On Monday, September 21, 2015 at 02:38:52 PM, Burton, Ross wrote: > On 21 September 2015 at 11:49, Marek Vasut wrote: > > This approach [1] is applicable to nios2 just fine, so I'll go with the > > same. Can the rest of the patches here be applied, so I don't have to > > repost them please ? > >

[OE-core] [PATCH] openssl: Add mapping for nios2

2015-09-21 Thread Marek Vasut
Map nios2 architecture to linux-generic32 target. Signed-off-by: Marek Vasut --- meta/recipes-connectivity/openssl/openssl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index

[OE-core] [PATCH 1/1] meta-selftest: add error recipe and error-image

2015-09-21 Thread brian avery
* The error recipe throws an error during compile * The error-image includes the error recipe * Initial target is toaster selenium testing Signed-off-by: brian avery --- meta-selftest/recipes-test/error/error.bb| 11 +++ meta-selftest/recipes-test/images/error-image

[OE-core] [PATCH 0/1] Create error recipe and error image, for testing

2015-09-21 Thread brian avery
This provides an error recipe and an error image in meta-selftest. It's initial target is for toaster selenium testing. The following changes since commit 7b86c771c80d0759c2ca0e57c46c4c966f89c49e: bitbake: bitbake: bb.fetch2.git: Import errno module (2015-09-19 22:38:44 +0100) are available i

[OE-core] [PATCH v2] libgcc.inc: package baremetal multilib libraries

2015-09-21 Thread Juro Bystricky
When building libgcc some files and libraries may be built but not packaged. The original code packaged only some explicitly specified files targeting mostly x86. This patch does not discriminate between various targets. It fixes errors such as these: ERROR: QA Issue: libgcc: Files/directories we

[OE-core] [PATCH v2 0/1] libgcc: package multiple libraries

2015-09-21 Thread Juro Bystricky
Second attempt. This patch is a bit more invasive than the previous one, but based on my understanding it should not break the existing code. Juro Bystricky (1): libgcc.inc: package baremetal multilib libraries meta/recipes-devtools/gcc/libgcc.inc | 9 + 1 file changed, 1 insertion(+)

Re: [OE-core] [RFC][PATCHv2] cmake.bbclass, perf: don't re-create ${B}

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 21:33, Martin Jansa wrote: > * otherwise there is race-condition between do_configure rm+mkdir and > bitbake trying to use it as CWD for do_populate_lic task, which > results in errors like this: > It took me a few minutes to understand this race: Task A executing pe

[OE-core] [RFC][PATCHv2] cmake.bbclass, perf: don't re-create ${B}

2015-09-21 Thread Martin Jansa
* otherwise there is race-condition between do_configure rm+mkdir and bitbake trying to use it as CWD for do_populate_lic task, which results in errors like this: NOTE: recipe perf-1.0-r9: task do_configure: Started NOTE: recipe perf-1.0-r9: task do_populate_lic: Started ERROR: Build of do_pop

[OE-core] OpenEmbedded Developers European Meeting in Dublin after ELCE and YP dev day

2015-09-21 Thread Philip Balister
Just a reminder we will have a meeting on Oct 9 in Dublin after ELCE and the YP developer day. This is a good place to meet other OE developers and discuss your issues and concerns. All OpenEmbedded developers/users are welcome. Please add your name to the attendee list here: http://openembedded

[OE-core] [PATCH] packagegroup-core-standalone-sdk-target: ensure libatomic is in SDK

2015-09-21 Thread Ross Burton
Some architectures (such as MIPS) need libatomic from gcc-runtime to perform atomic operations, so this package should be included in all SDKs. [ YOCTO #8274 ] Signed-off-by: Ross Burton --- .../packagegroups/packagegroup-core-standalone-sdk-target.bb| 2 ++ 1 file changed, 2 insert

[OE-core] [RFC][PATCH] perf: don't re-create ${B}

2015-09-21 Thread Martin Jansa
* otherwise there is race-condition between do_configure rm+mkdir and bitbake trying to use it as CWD for do_populate_lic task, which results in errors like this: NOTE: recipe perf-1.0-r9: task do_configure: Started NOTE: recipe perf-1.0-r9: task do_populate_lic: Started ERROR: Build of do_pop

Re: [OE-core] packageconfig for non-autotooled project

2015-09-21 Thread Trevor Woerner
Hey Khem, On 09/21/15 13:03, Khem Raj wrote: > > Look at the patches I have posted for raspberry pi layer > Found them. Awesome, thanks! :-) -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/ma

Re: [OE-core] [PATCH][master][fido][dizzy] Revert "perf: fix for rebuilding"

2015-09-21 Thread Martin Jansa
On Wed, Sep 16, 2015 at 03:48:58PM +0800, Robert Yang wrote: > > Hi Martin, > > I've figured out the reason, this is because the task's default cwd > is ${B}, the easier way to fix the problem is use mkdir -p rather than > mkdir, autotools.bbclass also has this problem, but I'd like to fix > exec

Re: [OE-core] [PATCH] webkitgtk: add REQUIRED_DISTRO_FEATURES

2015-09-21 Thread Martin Jansa
On Mon, Sep 21, 2015 at 07:01:15PM +0300, Alexander Kanavin wrote: > On 09/21/2015 05:01 PM, Martin Jansa wrote: > > * original webkit-gtk_1.8.3.bb recipe already had this, I don't know > >why it was removed when upgrading to 2.8.5 > > It was removed because I couldn't figure out why it's actu

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
Hi Khem, On 22/09/2015 3:05 AM, Khem Raj wrote: Please make it arm specific I have sent V2 that only makes the change for arm. Interestly, this issue doesn't appear for qemuarm (ARMv5) when running under qemu. I am wondering if this issue affects platforms other than ARM on real boards de

[OE-core] [PATCH v2] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
This fixes systemd failing to start on Raspberry Pi 2 if it is compiled with GCC 5.2. It would try to start "Journal Service" and "udev Kernel Device Manager" but fail repeatedly. [YOCTO #8291] Signed-off-by: Jonathan Liu --- meta/recipes-core/systemd/systemd_225.bb | 3 +++ 1 file changed, 3

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Khem Raj
Please make it arm specific On Sep 21, 2015 4:22 AM, "Jonathan Liu" wrote: > This fixes systemd failing to start on Raspberry Pi 2 if it is compiled > with GCC 5.2. > > It would try to start "Journal Service" and "udev Kernel Device Manager" > but fail repeatedly. > > [YOCTO #8291] > > Signed-off

Re: [OE-core] packageconfig for non-autotooled project

2015-09-21 Thread Khem Raj
Look at the patches I have posted for raspberry pi layer On Sep 21, 2015 7:29 AM, "Trevor Woerner" wrote: > Hello, > > libepoxy needs its EGL support to have a packageconfig (*.pc) file but > the EGL I want to use in my project > (meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which point

Re: [OE-core] [PATCH] webkitgtk: add REQUIRED_DISTRO_FEATURES

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 17:01, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > On 09/21/2015 05:01 PM, Martin Jansa wrote: > >> * original webkit-gtk_1.8.3.bb recipe already had this, I don't know >>why it was removed when upgrading to 2.8.5 >> > > It was removed because I coul

Re: [OE-core] [PATCH V2] selftest/buildoptions: pexpect not a builtin module

2015-09-21 Thread Benjamin Esquivel
Great! thanks Daniel. On Mon, 2015-09-21 at 10:49 +, Istrate, Daniel AlexandruX wrote: > Hi Ross, > > I sent the patch: http://lists.openembedded.org/pipermail/openembedde > d-core/2015-September/110738.html > > --Daniel > > From: Burton, Ross [mailto:ross.bur...@intel.com] > Sent: Monda

Re: [OE-core] [PATCH] webkitgtk: add REQUIRED_DISTRO_FEATURES

2015-09-21 Thread Alexander Kanavin
On 09/21/2015 05:01 PM, Martin Jansa wrote: * original webkit-gtk_1.8.3.bb recipe already had this, I don't know why it was removed when upgrading to 2.8.5 It was removed because I couldn't figure out why it's actually needed. What is the scenario? Regards, Alex -- ___

[OE-core] [PATCH v2] systemd: apply persistent storage udev rules also for /dev/hd*

2015-09-21 Thread Patrick Ohly
This fixes booting with initramfs and root=UUID on machines with IDE disks, like "runqemu hdddirect", and kernels which still use the deprecated CONFIG_IDE. v2: Rebased against current master-next. Signed-off-by: Patrick Ohly --- .../systemd/rules-whitelist-hd-devices.patch | 32 +

[OE-core] packageconfig for non-autotooled project

2015-09-21 Thread Trevor Woerner
Hello, libepoxy needs its EGL support to have a packageconfig (*.pc) file but the EGL I want to use in my project (meta-sunxi/recipes-graphics/libgles/sunxi-mali_git.bb, which points to gitsm://github.com/linux-sunxi/sunxi-mali.git) isn't autotooled. There are a couple ways around this problem, bu

[OE-core] [PATCH] webkitgtk: add REQUIRED_DISTRO_FEATURES

2015-09-21 Thread Martin Jansa
* original webkit-gtk_1.8.3.bb recipe already had this, I don't know why it was removed when upgrading to 2.8.5 Signed-off-by: Martin Jansa --- meta/recipes-sato/webkit/webkitgtk_2.8.5.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-sato/webkit/webkitgtk

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Adrian Freihofer
Hi Jonathan Your patch is fine on beaglebone black. At least it is possible to login. Thank you. Regards, Adrian On Mon, 2015-09-21 at 22:49 +1000, Jonathan Liu wrote: > Hi Adrian, > > On 21/09/2015 10:45 PM, Adrian Freihofer wrote: > > On Beaglebone-black Systemd 215 does not boot if compiled

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
Hi Adrian, On 21/09/2015 10:45 PM, Adrian Freihofer wrote: On Beaglebone-black Systemd 215 does not boot if compiled with -O2. Compiling with -O1 works. 2015-09-21 14:31 GMT+02:00 Jonathan Liu >: On 21/09/2015 10:23 PM, Burton, Ross wrote: On 21 September 201

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Adrian Freihofer
Hi, On Beaglebone-black Systemd 215 does not boot if compiled with -O2. Compiling with -O1 works. Regards, Adrian 2015-09-21 14:31 GMT+02:00 Jonathan Liu : > On 21/09/2015 10:23 PM, Burton, Ross wrote: > > > On 21 September 2015 at 12:23, Jonathan Liu wrote: > >> +FULL_OPTIMIZATION += "-fno-sc

Re: [OE-core] [PATCH 5/8] openssl: Add nios2 configuration

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 11:49, Marek Vasut wrote: > This approach [1] is applicable to nios2 just fine, so I'll go with the > same. Can the rest of the patches here be applied, so I don't have to > repost them please ? > Absolutely, the rest of the series is queued in ross/mut already. Ross --

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
On 21/09/2015 10:23 PM, Burton, Ross wrote: On 21 September 2015 at 12:23, Jonathan Liu > wrote: +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2" Are these bugs with the gcc optimisations or the systemd source code, and if its gcc's fault are the

Re: [OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 12:23, Jonathan Liu wrote: > +FULL_OPTIMIZATION += "-fno-schedule-insns -fno-schedule-insns2" > Are these bugs with the gcc optimisations or the systemd source code, and if its gcc's fault are the problematic optimisations specific to a particular architecture (such as AR

Re: [OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Anders Darander
* Jonathan Liu [150921 13:08]: > This avoids a "Could not unlink" warning when extracting a /var/run > symbolic link pointing to /run from the base-files package as it is > unable to unlink the /var/run directory when it contains opkg.lock. > This also fixes an issue where /var/run is created as

Re: [OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Jonathan Liu
On 21/09/2015 10:02 PM, Jussi Kukkonen wrote: On 21 September 2015 at 14:09, Jonathan Liu > wrote: This avoids a "Could not unlink" warning when extracting a /var/run symbolic link pointing to /run from the base-files package as it is unable to unlink the /va

Re: [OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Jussi Kukkonen
On 21 September 2015 at 14:09, Jonathan Liu wrote: > This avoids a "Could not unlink" warning when extracting a /var/run > symbolic link pointing to /run from the base-files package as it is > unable to unlink the /var/run directory when it contains opkg.lock. > > This also fixes an issue where /

[OE-core] [PATCH] devtool: second fix for running from a different directory

2015-09-21 Thread Markus Lehtonen
Do not change change current working directory permanently, but, only for the duration of tinfoil initialization instead. The previous fix caused very unintuitive behavior where using relative paths were solved with respect to the builddir instead of the current working directory. E.g. calling "dev

[OE-core] [PATCH] systemd: disable problematic GCC 5.2 optimizations

2015-09-21 Thread Jonathan Liu
This fixes systemd failing to start on Raspberry Pi 2 if it is compiled with GCC 5.2. It would try to start "Journal Service" and "udev Kernel Device Manager" but fail repeatedly. [YOCTO #8291] Signed-off-by: Jonathan Liu --- meta/recipes-core/systemd/systemd_225.bb | 3 +++ 1 file changed, 3

[OE-core] [PATCH] opkg: create opkg.lock in /run instead of /var/run

2015-09-21 Thread Jonathan Liu
This avoids a "Could not unlink" warning when extracting a /var/run symbolic link pointing to /run from the base-files package as it is unable to unlink the /var/run directory when it contains opkg.lock. This also fixes an issue where /var/run is created as a directory instead of a symbolic link t

Re: [OE-core] [PATCH 5/8] openssl: Add nios2 configuration

2015-09-21 Thread Marek Vasut
On Monday, September 21, 2015 at 12:35:08 PM, Burton, Ross wrote: > On 19 September 2015 at 23:43, Marek Vasut wrote: > > +Upstream-Status: Inappropriate [configuration] > > Surely you do want this patch upstream so you don't need to always patch > openssl? In which case Pending for "I haven't s

Re: [OE-core] [PATCH V2] selftest/buildoptions: pexpect not a builtin module

2015-09-21 Thread Istrate, Daniel AlexandruX
Hi Ross, I sent the patch: http://lists.openembedded.org/pipermail/openembedded-core/2015-September/110738.html --Daniel From: Burton, Ross [mailto:ross.bur...@intel.com] Sent: Monday, September 21, 2015 13:20 To: Istrate, Daniel AlexandruX Cc: Benjamin Esquivel; openembedded-core@lists.openemb

[OE-core] [PATCH] oeqa/selftest: buildoptions.py Removed unused imports

2015-09-21 Thread Daniel Istrate
Removed unused imports: unittest, logging, pexpect Signed-off-by: Daniel Istrate --- meta/lib/oeqa/selftest/buildoptions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index 483803b..d76aef1 100644 --- a/m

Re: [OE-core] [PATCH 5/8] openssl: Add nios2 configuration

2015-09-21 Thread Burton, Ross
On 19 September 2015 at 23:43, Marek Vasut wrote: > +Upstream-Status: Inappropriate [configuration] > Surely you do want this patch upstream so you don't need to always patch openssl? In which case Pending for "I haven't submitted yet" or Submitted if you have sent it upstream. Ross -- __

Re: [OE-core] [PATCH V2] selftest/buildoptions: pexpect not a builtin module

2015-09-21 Thread Burton, Ross
On 21 September 2015 at 09:37, Istrate, Daniel AlexandruX < daniel.alexandrux.istr...@intel.com> wrote: > Just want to point out that 'pexpect' is an unused import in > buildoptions.py. Unused imports are also unittest and logging. > Instead of try-catch an import that is not used I think it's bes

Re: [OE-core] [PATCH V2] selftest/buildoptions: pexpect not a builtin module

2015-09-21 Thread Istrate, Daniel AlexandruX
Hi Benjamin, Paul, Just want to point out that 'pexpect' is an unused import in buildoptions.py. Unused imports are also unittest and logging. Instead of try-catch an import that is not used I think it's best to get rid of them. --Daniel -Original Message- From: openembedded-core-boun

[OE-core] [yocto][PATCH 0/1] new PTEST_RUN_SCRIPT_PATH

2015-09-21 Thread Ian Ray
New "weak" assigned PTEST_RUN_SCRIPT_PATH to allow recipes to override the default location of the run-ptest script. This is useful if the package ships its own run-ptest script. A documentation patch was submitted to https://lists.yoctoproject.org/pipermail/yocto/2015-September/026500.html Ian

[OE-core] [yocto][PATCH 1/1] ptest: user-specified run-ptest script location

2015-09-21 Thread Ian Ray
Provides a new variable, PTEST_RUN_SCRIPT_PATH, which points to a directory where the run-ptest script is located. This location defaults to the work directory but may be overridden within a recipe if a package ships its own run-ptest script. Signed-off-by: Ian Ray --- meta/classes/ptest.bbclas