[OE-core] v2: valgrind upgrade to 3.14

2018-10-19 Thread Randy MacLeod
v2: Remove unused patch that was dropped from recipe. Guard against __GLIBC_PREREQ for musl libc I've tested the enable-lto optimization and it's costly at build time and doesn't work immediately so I think it should be implemented as a PACKAGECONFIG post-ga. It's also not the default

[OE-core] [PATCH v2] valgrind: update from 3.13.0 to 3.14.0

2018-10-19 Thread Randy MacLeod
The removed patches are all upstream. Adjusted two patches due to rebase. Guard against __GLIBC_PREREQ for musl libc Signed-off-by: Randy MacLeod --- ...against-__GLIBC_PREREQ-for-musl-libc.patch | 36 ...se-ucontext_t-instead-of-struct-ucon.patch | 30 ---

Re: [OE-core] [PATCH 2/5] oeqa/core/runner: write testresult to json files

2018-10-19 Thread Yeoh, Ee Peng
Hi Richard, Thank you for your inputs! I am now working on the new features that you requested. Best regards, Yeoh Ee Peng -Original Message- From: richard.pur...@linuxfoundation.org [mailto:richard.pur...@linuxfoundation.org] Sent: Friday, October 19, 2018 5:56 AM To: Yeoh, Ee

Re: [OE-core] valgrind upgrade

2018-10-19 Thread Randy MacLeod
On 10/16/18 10:22 PM, Randy MacLeod wrote: * Valgrind is now buildable with link-time optimisation (LTO). A new configure option --enable-lto=yes allows building Valgrind with LTO. If the toolchain supports it, this produces a smaller/faster Valgrind (up to 10%). Note that if you are

[OE-core] [PATCH 2/2] openssl: do an out-of-tree build

2018-10-19 Thread Ross Burton
OpenSSL supports out-of-tree builds so we should use them. This makes builds more reliable, and makes it easier to reduce the size of the ptest package. Signed-off-by: Ross Burton --- meta/recipes-connectivity/openssl/openssl_1.1.1.bb | 15 ++- 1 file changed, 10 insertions(+), 5

[OE-core] [PATCH 1/2] openssl: fix ptest

2018-10-19 Thread Ross Burton
Previously the ptest installation was simply a copy of the entire build tree, which is terribly ugly. Instead copy just the pieces we need, symlink to /usr as appropriate, and add missing dependencies. Remove PRIVATE_LIBS as we don't ship copies of the libraries now. Also remember to do 'set

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread Dan McGregor
On Fri, 19 Oct 2018 at 11:28, wrote: > > On Fri, 2018-10-19 at 10:23 -0400, Randy MacLeod wrote: > > On 10/19/18 10:18 AM, Randy MacLeod wrote: > > > On 10/19/18 9:47 AM, Richard Purdie wrote: > > > > > > > > The rebase went wrong here. I'll try and fix this up in -next and > > > > retest so we

[OE-core] [PATCH] image_types: Fix a shell syntax error in do_image_ubi

2018-10-19 Thread Richard Purdie
| DEBUG: Executing shell function do_image_ubi | /home/pokybuild/yocto-worker/nightly-oe-selftest/build/build-st-31289/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_ubi.7928: 123: [: missing ] Signed-off-by: Richard Purdie --- meta/classes/image_types.bbclass | 2

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread richard . purdie
On Fri, 2018-10-19 at 10:23 -0400, Randy MacLeod wrote: > On 10/19/18 10:18 AM, Randy MacLeod wrote: > > On 10/19/18 9:47 AM, Richard Purdie wrote: > > > > > > The rebase went wrong here. I'll try and fix this up in -next and > > > retest so we can figure out if switch_root really is broken (cc >

Re: [OE-core] [PATCH 1/2] meta/classes/testexport: Use manfiest filenames for package and testdata

2018-10-19 Thread Anibal Limon
Hi Richard, I need to update the selftest testcase, i will send v2. I send other patch, can you take a look? http://lists.openembedded.org/pipermail/openembedded-core/2018-October/156762.html Regards, Anibal On Thu, 18 Oct 2018 at 10:43, wrote: > On Wed, 2018-10-17 at 18:00 -0500, Aníbal

Re: [OE-core] [PATCH] npm: change install directory to upstream default

2018-10-19 Thread Marek Vasut
On 10/19/2018 05:22 PM, Olaf Mandel wrote: > The node binary searches for packages in a number of locations, the last > of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of > GLOBAL_FOLDERS [1]. Change the installation directory for all packages > depending on npm.bbclass to that

[OE-core] [PATCH] openssl: fix ptest

2018-10-19 Thread Ross Burton
Previously the ptest installation was simply a copy of the entire build tree, which is terribly ugly. Instead copy just the pieces we need, symlink to /usr as appropriate, and add missing dependencies. Also remember to do 'set -x' in run-ptest, so if the tests fail the runner knows! [ YOCTO

[OE-core] [PATCHv3] devtool-source.bbclass: Only create each patch branch once

2018-10-19 Thread Olof Johansson
For conditonally applied patches based on SRC_URI overrides, the devtool-source class would try to create a new branch for each override assignment as a postfunc to do_patch, but if the same override was used multiple times, it would try to create the same branch multiple times, causing errors

[OE-core] [PATCHv2] devtool-source.bbclass: Only create each patch branch once

2018-10-19 Thread Olof Johansson
For conditonally applied patches based on SRC_URI overrides, the devtool-source class would try to create a new branch for each override assignment as a postfunc to do_patch, but if the same override was used multiple times, it would try to create the same branch multiple times, causing errors

Re: [OE-core] [PATCH] devtool-source.bbclass: Only create each patch branch once

2018-10-19 Thread Olof Johansson
On 18-10-19 18:00 +0200, Olof Johansson wrote: > For conditonally applied patches based on SRC_URI overrides, the > devtool-source class would try to create a new branch for each override > assignment as a postfunc to do_patch, but if the same override was used > multiple times, it would try to

[OE-core] [PATCH] volatile-binds: use overlayfs if available

2018-10-19 Thread Matt Hoosier
From: Matt Hoosier Copying files from the read-only root filesystem to the tmpfs providing the volatile directories can be slow and waste memory. If the kernel supports the overlay filesystem, use it to mount a writable tmpfs on top of the read-only directory from the rootfs and avoid copies.

[OE-core] [PATCH] devtool-source.bbclass: Only create each patch branch once

2018-10-19 Thread Olof Johansson
For conditonally applied patches based on SRC_URI overrides, the devtool-source class would try to create a new branch for each override assignment as a postfunc to do_patch, but if the same override was used multiple times, it would try to create the same branch multiple times, causing errors

[OE-core] [opkg-utils PATCH] opkg-make-index: use ctime instead of mtime

2018-10-19 Thread Stefan Agner
From: Stefan Agner When using sstate, two parallel builds can produce two packages with the same mtime but different checksums. When later one of those two builds fetches the others ipk, the package index does not get udpated properly (since mtime matches). This ends up with messages such as:

[OE-core] [PATCH] npm: change install directory to upstream default

2018-10-19 Thread Olaf Mandel
The node binary searches for packages in a number of locations, the last of which is $PREFIX/lib/node (here: /usr/lib/node) from the list of GLOBAL_FOLDERS [1]. Change the installation directory for all packages depending on npm.bbclass to that location. This removes the need to define the

Re: [OE-core] Missing venv module in Python 3

2018-10-19 Thread Hugues Kamba
Hi Alejandro, Thank you for your suggestion. The following has been added to a python3_%.bbapend: # Add missing venv module dependency. FILES_${PN}-pyvenv += "${libdir}/${PYTHON_MAJMIN}/venv" However, it is not quite obvious how to successfully run the create_manifest3.py script. Attempts

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread Dan McGregor
On Fri, 19 Oct 2018 at 08:24, Randy MacLeod wrote: > > On 10/19/18 10:18 AM, Randy MacLeod wrote: > > On 10/19/18 9:47 AM, Richard Purdie wrote: > >> On Thu, 2018-10-18 at 09:22 -0600, Dan McGregor wrote: > >>> From: Dan McGregor > >>> > >>> These are also provided by toybox in its default

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread Randy MacLeod
On 10/19/18 10:18 AM, Randy MacLeod wrote: On 10/19/18 9:47 AM, Richard Purdie wrote: On Thu, 2018-10-18 at 09:22 -0600, Dan McGregor wrote: From: Dan McGregor These are also provided by toybox in its default configuration, and can be turned on in busybox. Signed-off-by: Dan McGregor ---  

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread Randy MacLeod
On 10/19/18 9:47 AM, Richard Purdie wrote: On Thu, 2018-10-18 at 09:22 -0600, Dan McGregor wrote: From: Dan McGregor These are also provided by toybox in its default configuration, and can be turned on in busybox. Signed-off-by: Dan McGregor --- meta/recipes-core/util-linux/util-linux.inc

Re: [OE-core] [PATCH 1/2] go: Upgrade to 1.11.1

2018-10-19 Thread Khem Raj
On Fri, Oct 19, 2018 at 4:07 AM Burton, Ross wrote: > > Are you proposing this as a freeze-breaking change to Thud, or sending > early for master? > this patch for thud as well. Since we pin go to 1.9 this just changes the spare go version to 1.11, which should not affect much > Ross > On Fri,

Re: [OE-core] [PATCH v2] util-linux: alternatify cal, rev, and ionice

2018-10-19 Thread Richard Purdie
On Thu, 2018-10-18 at 09:22 -0600, Dan McGregor wrote: > From: Dan McGregor > > These are also provided by toybox in its default configuration, > and can be turned on in busybox. > > Signed-off-by: Dan McGregor > --- > meta/recipes-core/util-linux/util-linux.inc | 10 ++ > 1 file

Re: [OE-core] Missing venv module in Python 3

2018-10-19 Thread Hugues Kamba
Hello Alejandro, Thank you for your help. Unfortunately, the pyvenv package is not in the manifest, I cannot therefore add the path where you are suggesting. It is not immediately clear to me where the package is created, however, files are added to the pyvenv package (using

Re: [OE-core] [PATCH v2] util-linux: fix alternatives setting for switch-root

2018-10-19 Thread Richard Purdie
On Fri, 2018-10-19 at 14:37 +0100, Richard Purdie wrote: > On Tue, 2018-10-16 at 19:24 -0400, Randy MacLeod wrote: > > The alternative setting for switch_root belongs to the util-linux- > > switch-root > > package instead of the util-linux package. Fix this problem to > > avoid > > a dangling

Re: [OE-core] [PATCH v2] util-linux: fix alternatives setting for switch-root

2018-10-19 Thread Richard Purdie
On Tue, 2018-10-16 at 19:24 -0400, Randy MacLeod wrote: > The alternative setting for switch_root belongs to the util-linux- > switch-root > package instead of the util-linux package. Fix this problem to avoid > a dangling symlink: >/usr/bin/switch_root-> /usr/bin/switch_root.util-linux > on

Re: [OE-core] [PATCH v4 0/4] cmake.bbclass improvements

2018-10-19 Thread Pascal Bach
On 18.10.2018 17:28, Khem Raj wrote: > On Thu, Oct 18, 2018 at 7:58 AM Pascal Bach wrote: >> >> On 17.10.2018 20:50, Khem Raj wrote: >>> On Wed, Oct 17, 2018 at 3:43 AM Pascal Bach wrote: This patchset is unmodified from v3. It is just rebased on top of master which already

Re: [OE-core] [PATCH 1/2] go: Upgrade to 1.11.1

2018-10-19 Thread Burton, Ross
Are you proposing this as a freeze-breaking change to Thud, or sending early for master? Ross On Fri, 19 Oct 2018 at 02:32, Khem Raj wrote: > > Drop 1.10 recipes in favor of 1.11 > we have had reports of 1.10 not being quite > functional wth OE > > Signed-off-by: Khem Raj > --- >

Re: [OE-core] [PATCH 3/4] weston: Remove machine specific append

2018-10-19 Thread Burton, Ross
On Thu, 18 Oct 2018 at 16:39, Mark Hatle wrote: > > Two questions: > > 1) does qemu still need fbdev or does virtio/drm work now? (iirc, we > > still have a crippled qemu here) > > 2) Can this be overridden in a config file instead > > I did not understand how to do this. The alternative I see

Re: [OE-core] [PATCH] valgrind: update from 3.13.0 to 3.14.0

2018-10-19 Thread richard . purdie
On Thu, 2018-10-18 at 19:12 -0400, Randy MacLeod wrote: > For v2 I'll fix the build for musl and > remove that unused patch that patchworks pointed out. > > All the glibc builds succeeded except for arm and mips64 > which were not supported by the recipe. I'll check on that > with the new version