Re: [OE-core] [PATCH 0/1] package.bbclass: Don not hide cpio's error

2019-01-09 Thread Robert Yang
On 12/18/18 11:13 AM, Robert Yang wrote: Sorry, the subject should be: package.bbclass: Do not hide cpio's error Fixed it in the repo. // Robert On 12/18/18 11:00 AM, Robert Yang wrote: The following changes since commit 20aea61385e1a53ac245353899277ba20104ed2f:    gcc: Drop 7.3 since 8.2

Re: [OE-core] [PATCH V3 00/11] ccache.bbclass: Refactor it to make it more reliable

2019-01-09 Thread Robert Yang
Hi RP, Do you have any comments on this, please? It's really very useful during development. It can save both configure and compile time in the second run, It can save about 8 minutes (30m -> 22m) if I rebuild core-image-minimal totally without any sstate caches. // Robert On 12/18/18 3:18 PM,

[OE-core] [PATCH 1/1] oeqa: make it work for multiple users

2019-01-09 Thread Robert Yang
There are failures when multiple users run oe-selftest on the same host: PermissionError: [Errno 13] Permission denied: '/tmp/oe-saved- tests/201812250324_qemu' This is because /tmp/oe-saved-tests was created by user A, while user B tries to write data in it, then the error will happen. This patc

[OE-core] [PATCH 0/1] oeqa: make it work for multiple users

2019-01-09 Thread Robert Yang
The following changes since commit 237ed166f48b0e32684a5307d3b47b9485238ed9: oeqa/sdk: add test to exercise Meson (2019-01-07 17:45:44 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/oeqa http://cgit.openembedded.org/openembedded-core

Re: [OE-core] [PATCH resend^2] wic: allow bitbake variables in kickstarter files

2019-01-09 Thread Rasmus Villemoes
ping On 29/12/2018 01.06, Rasmus Villemoes wrote: > image_types_wic.bbclass has a mechanism for doing variable substitution > on .wks files by simply letting the input file be called > .wks.in. However, that doesn't allow using variables in files included > via the include directive. This is unfor

[OE-core] Suggest removing classes/siteconfig.bbclass

2019-01-09 Thread Robert Yang
Hi, I reimplemented glibc's site config and did a lot of tests recently, finally, I found that it isn't as useful as I had thought, so I'm leaning to remove classes/siteconfig.bbclass. * Here are the test results of with/without glibc's siteconfig: $ bitbake recipe -cconfigure && bitbake recipe

Re: [OE-core] ✗ patchtest: failure for target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

2019-01-09 Thread ChenQi
Is this sanity check wrong? I'm pretty sure this patch applies to poky's latest master branch. BTW, I cannot find this 65c419b8c4 commit in both poky and oe-core repo. Best Regards, Chen Qi On 01/10/2019 10:33 AM, Patchwork wrote: == Series Details == Series: target-sdk-provides-dummy: add mo

[OE-core] ✗ patchtest: failure for target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

2019-01-09 Thread Patchwork
== Series Details == Series: target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure Revision: 1 URL : https://patchwork.openembedded.org/series/15588/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated r

[OE-core] [PATCH 1/1] target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

2019-01-09 Thread Chen Qi
When 'adduser' package, which is from meta-perl layer, is added to rootfs, we will get do_populate_sdk failure like below. Error: Problem: package perl-module-cwd-5.24.4-r0.core2_64 requires perl-module-dynaloader, but none of the providers can be installed - package perl-module-file-temp-5.2

[OE-core] [PATCH 0/1] target-sdk-provides-dummy: add more perl modules to avoid populate_sdk failure

2019-01-09 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 4dd51032160897be4132242d6aaaf4dd1e5167da: oeqa/sdk: add test to exercise Meson (2019-01-08 11:16:45 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/target-dummy http://git.pokylinux.org/cgit.cg

[OE-core] ✗ patchtest: failure for meson: add aarch64 big endian support

2019-01-09 Thread Patchwork
== Series Details == Series: meson: add aarch64 big endian support Revision: 1 URL : https://patchwork.openembedded.org/series/15587/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed

Re: [OE-core] [PATCH] meson: add aarch64 big endian support

2019-01-09 Thread Burton, Ross
Nope. Quoting from the page linked to in the error message: As a worked example, consider the little-endian MIPS case. The TARGET_ARCH for a MIPS machine in little-endian mode is mipsel but Meson doesn't consider endian changes different CPU families so they're both mips. This is already in the C

[OE-core] [PATCH] meson: add aarch64 big endian support

2019-01-09 Thread C.r. Guo
From: Chunrong Guo *fix the below error: |ERROR: Unknown CPU family aarch64_be, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions. |ERROR: meson failed Signed-off-by: Chunrong Guo --- meta/recipes-devtools/meson/meson.inc | 1 + .../meson/meson/0001-support-

[OE-core] [PATCH v2] sdk: Fix SDKIMAGE_LINGUAS handling

2019-01-09 Thread Richard Weinberger
Currently SDKIMAGE_LINGUAS is broken for any inputs except "all". In the non-"all" case, each enabled language package is installed via pm.install("nativesdk-glibc-binary-localedata-%s.utf-8" % lang) This will throw a python exception since pm.install() expects a list of strings and not a string.

[OE-core] [PATCH v2 1/2] buildhistory: simplify buildhistory_list_files()

2019-01-09 Thread Jacob Kroon
Avoid duplicating shell code for the two cases, fakeroot/non-fakeroot. Signed-off-by: Jacob Kroon --- meta/classes/buildhistory.bbclass | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index d1f3

[OE-core] [PATCH v2 2/2] buildhistory: support generating sha256 checksums of regular files

2019-01-09 Thread Jacob Kroon
Introduce 'sha256' in BUILDHISTORY_FEATURES and enable it by default when doing reproducible builds. When enabled this will additionally create: files-in-package-sha256.txt files-in-image-sha256.txt files-in-sdk-sha256.txt containing the sha256 checksums of regular files. Signed-off-by: J

Re: [OE-core] [RFC][PATCH 2/2] buildhistory: support generating md5sum of files

2019-01-09 Thread Jacob Kroon
On Wed, Jan 9, 2019 at 12:20 PM Peter Kjellerstedt wrote: > > > -Original Message- > > From: openembedded-core-boun...@lists.openembedded.org > core-boun...@lists.openembedded.org> On Behalf Of Jacob Kroon > > Sent: den 6 januari 2019 19:14 > > To: openembedded-core@lists.openembedded.org

[OE-core] [PATCH] ptest-runner: Upgrade to 2.3

2019-01-09 Thread Aníbal Limón
Addes support to report timeout in XML file and duration in stdout and XML file. See, http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=a16f2c137b http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=8071258373 Signed-off-by: Aníbal Limón --- .../ptest-runner/{pt

Re: [OE-core] [PATCH] npm.bbclass: introduce NPM_PXORY

2019-01-09 Thread Burton, Ross
On Wed, 9 Jan 2019 at 17:28, Alexander Kanavin wrote: > > + if [ -n "${NPM_PROXY}" ]; then > > + npm config set proxy ${NPM_PROXY} > > + npm config set https-proxy ${NPM_PROXY} > > + else > > + npm config set proxy null > > + npm

Re: [OE-core] [PATCH] npm.bbclass: introduce NPM_PXORY

2019-01-09 Thread Alexander Kanavin
On Wed, 9 Jan 2019 at 18:24, wrote: > + if [ -n "${NPM_PROXY}" ]; then > + npm config set proxy ${NPM_PROXY} > + npm config set https-proxy ${NPM_PROXY} > + else > + npm config set proxy null > + npm config set https-proxy null >

[OE-core] [PATCH] npm.bbclass: introduce NPM_PXORY

2019-01-09 Thread liu . ming50
From: Ming Liu This is needed to support building npm packages under environment with proxy setting. Signed-off-by: Ming Liu --- meta/classes/npm.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass index 6dbae6b..0f37f30 1

[OE-core] [PATCH] meta: clean up IMAGE_ROOTFS/IMGDEPLOYDIR creation code

2019-01-09 Thread liu . ming50
From: Ming Liu It is not necessary to create IMAGE_ROOTFS/IMGDEPLOYDIR in rootfs.py, they could be handled by do_rootfs[dirs], in a cleaner way. Signed-off-by: Ming Liu --- meta/classes/image.bbclass | 2 +- meta/lib/oe/rootfs.py | 5 - 2 files changed, 1 insertion(+), 6 deletions(-)

Re: [OE-core] [bitbake-devel] [PATCH v7 3/3] sstate: Implement hash equivalence sstate

2019-01-09 Thread Joshua Watt
On Tue, 2019-01-08 at 07:29 +0100, Jacob Kroon wrote: > On 1/4/19 5:20 PM, Joshua Watt wrote: > > Converts sstate so that it can use a hash equivalence server to > > determine if a task really needs to be rebuilt, or if it can be > > restored > > from a different (equivalent) sstate object. > > >

[OE-core] [PATCH 2/3] classes/icecc: Remove trailing whitespace

2019-01-09 Thread Joshua Watt
Signed-off-by: Joshua Watt --- meta/classes/icecc.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index ed3f0d36e14..0d6ee55c15c 100644 --- a/meta/classes/icecc.bbclass +++ b/meta/classes/icecc.bbclass @@ -386,7 +

[OE-core] [PATCH 3/3] nativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocate

2019-01-09 Thread Joshua Watt
The icecc setup for the SDK was broken in multilib configurations now that each multilib environment runs the post-relocate scripts separately. Including $TARGET_PREFIX in the icecc shim path and in the toolchain environment name prevents the various multilib setups from conflicting. [YOCTO #13128

[OE-core] [PATCH 1/3] classes/icecc: Check blacklist for BPN

2019-01-09 Thread Joshua Watt
If a given PN is listed in the icecream blacklist, there is a very good chance that the native, nativesdk, and multilib variants should also be skipped. Check the blacklist entries against BPN to cover them. [YOCTO #13128] Signed-off-by: Joshua Watt --- meta/classes/icecc.bbclass | 11 +

[OE-core] [PATCH 0/3] Icecream fixes for multilib

2019-01-09 Thread Joshua Watt
Using Icecream to build recipes with multilib enabled has been broken for some time, as has using Icecream in an SDK with multilib. Joshua Watt (3): classes/icecc: Check blacklist for BPN classes/icecc: Remove trailing whitespace nativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocate

Re: [OE-core] [PATCH 0/3] Reimplement perl recipe using perl-cross and update perl to 5.28.1

2019-01-09 Thread Alexander Kanavin
On Wed, 9 Jan 2019 at 11:02, Khem Raj wrote: > Here is run for qemumips/musl > > http://errors.yoctoproject.org/Errors/Build/74739/ > > The perl related fails are > postgresql > openipmi > adduser Thanks, for adduser I already have a fix. I couldn't reproduce the other two, but seems like they h

Re: [OE-core] [PATCH] [PATCH] dbus:upgrade to 1.13.6

2019-01-09 Thread Burton, Ross
>From dbus web site: "The current stable branch is dbus 1.12.x. This is the recommended version for most purposes. " "The current development branch is dbus 1.13.x, which will lead to a 1.14.x stable branch in future" This is why the recipe inherits upstream-version-is-even. We should upgrade

Re: [OE-core] [OE-Core][PATCH] uboot-sign.bbclass: silence warnings when UBOOT_DTB_BINARY is empty

2019-01-09 Thread Burton, Ross
This is queued for a build, I'll fire one shortly. Ross On Tue, 8 Jan 2019 at 15:57, Alex Kiernan wrote: > > On Wed, Dec 12, 2018 at 8:18 PM Alex Kiernan wrote: > > > > When UBOOT_DTB_BINARY is set to "", the keys for signed booting are > > expected to be already present in U-Boot's DTB, so don

Re: [OE-core] [PATCH V2] meta: handle IMAGE_ROOTFS/IMGDEPLOYDIR by task varflags

2019-01-09 Thread Ming Liu
HI, Richard: Will send a V2 to do the cleaning up firstly, after I double checked the code, seems to me that you are correct, there are "bb.utils.remove(self.image_rootfs, True)" for all package backend, so I am wondering why I saw the leftovers, will investigate that. //Ming Liu Richard Purdie

Re: [OE-core] [PATCH 1/1] netbase/base-files: move /etc/hosts from netbase to base-files

2019-01-09 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Chen Qi > Sent: den 8 januari 2019 10:13 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH 1/1] netbase/base-files: move /etc/hosts from

Re: [OE-core] [RFC][PATCH 2/2] buildhistory: support generating md5sum of files

2019-01-09 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Jacob Kroon > Sent: den 6 januari 2019 19:14 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [RFC][PATCH 2/2] buildhistory: support generating

Re: [OE-core] [PATCH V2] meta: handle IMAGE_ROOTFS/IMGDEPLOYDIR by task varflags

2019-01-09 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of liu.min...@gmail.com > Sent: den 6 januari 2019 17:31 > To: openembedded-core@lists.openembedded.org > Cc: Ming Liu > Subject: [OE-core] [PATCH V2] meta: handle

Re: [OE-core] [PATCH] [PATCH] python-setuptools:upgrade to 40.6.2

2019-01-09 Thread Burton, Ross
This will break the python3-setuptools recipe. Ross On Wed, 9 Jan 2019 at 01:52, Hong Liu wrote: > > 1.Upgrade python-setuptools from 40.0.0 to 40.6.2 > > Signed-off-by: Hong Liu > --- > meta/recipes-devtools/python/python-setuptools.inc| 4 ++-- > ...ython-setuptools_40.0.0.bb =>

Re: [OE-core] [PATCH 0/3] Reimplement perl recipe using perl-cross and update perl to 5.28.1

2019-01-09 Thread Khem Raj
Here is run for qemumips/musl http://errors.yoctoproject.org/Errors/Build/74739/ The perl related fails are postgresql openipmi adduser On Tue, Jan 8, 2019 at 11:15 AM Khem Raj wrote: > > On Tue, Jan 8, 2019 at 10:56 AM Alexander Kanavin > wrote: > > > > On Tue, 8 Jan 2019 at 19:49, Khem Raj