[OE-core] ✗ patchtest: failure for Support kmeta directory usage with devtool modify/finish

2018-12-14 Thread Patchwork
== Series Details == Series: Support kmeta directory usage with devtool modify/finish Revision: 1 URL : https://patchwork.openembedded.org/series/15361/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests

[OE-core] [PATCH] Support kmeta directory usage with devtool modify/finish

2018-12-14 Thread Jaewon Lee
When using Kmeta directories, devtool finish will add every single file in the directory to the bbappend. This is because in the current implementation, the get_recipe_local_files function treats the kmeta directory like a file. Modifying the function to loop through the provided directories and

Re: [OE-core] [OE-Core][PATCH 00/13] powerpc/powerpc64: Support build with musl as libc

2018-12-14 Thread Khem Raj
Serhey Thanks for doing this work and really a clean pull request with good explanation that I have seen lately. Good work, For most parts everything is in order except few places where I have replied specifically to the patches On Fri, Dec 14, 2018 at 9:55 AM Serhey Popovych wrote: > > Musl

Re: [OE-core] [OE-Core][PATCH 11/13] gcc: More places to patch to disable ldbl 128 for musl on PPC

2018-12-14 Thread Khem Raj
On Fri, Dec 14, 2018 at 9:58 AM Serhey Popovych wrote: > > There are four functions using TFmode type (128bit) that isn't > available when building with musl. Move each of them from common > ppc64-fp.c to individual files referenced from t-float128 that used > when ldbl 128 enabled at configure

Re: [OE-core] [OE-Core][PATCH 06/13] musl: Create default library search path based on configuration

2018-12-14 Thread Khem Raj
On Fri, Dec 14, 2018 at 9:57 AM Serhey Popovych wrote: > > In absence of /etc/ld-musl-$(ARCH).path file musl uses hardcoded default > search path "/lib:/usr/local/lib:/usr/lib". This works for cases when > system libraries installed in one of these pathes. > > However if lib64 or libx32 used as

Re: [OE-core] [OE-Core][PATCH 05/13] arch-powerpc64.inc: Use elfv2 ABI when building with musl

2018-12-14 Thread Khem Raj
On Fri, Dec 14, 2018 at 9:56 AM Serhey Popovych wrote: > > Historically first PowerPC ABI was big-endian only (elfv1 currently). It > is standard ABI for both 32-bit ppc and 64-bit ppc64 architectures. > > With PowerPC little-endian support new ABI was introduced (elfv2) and it > is used

Re: [OE-core] [PATCH] Revert "popt: update SRC_URI"

2018-12-14 Thread Khem Raj
On Fri, Dec 14, 2018 at 9:09 AM Ross Burton wrote: > > Go back to use rpm5.org, as it's the canonical host for popt. The host is > back up now. > is there any disadvantage of keep using fossies.org ? after all it kept us afloat in bad times :) > This reverts commit

[OE-core] [OE-Core][PATCH] yocto-uninative: Correct sha256sum for aarch64

2018-12-14 Thread Michael Halstead
Avoid uninative checksum warnings when building on aarch64 hardware. Signed-off-by: Michael Halstead --- meta/conf/distro/include/yocto-uninative.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/yocto-uninative.inc

[OE-core] [PATCH] ltp: Fix build with glibc 2.29

2018-12-14 Thread Khem Raj
Signed-off-by: Khem Raj --- ...getcpu-to-avoid-conflict-with-glibc-.patch | 57 +++ meta/recipes-extended/ltp/ltp_20180926.bb | 3 +- 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644

Re: [OE-core] [PATCH 2/2] oeqa/selftest/distrodata: Port to use the new recipeutils.get_recipe_upgrade_status() function

2018-12-14 Thread Richard Purdie
On Fri, 2018-12-14 at 19:28 +0100, Alexander Kanavin wrote: > On Fri, 14 Dec 2018 at 19:16, Richard Purdie > wrote: > > @@ -17,11 +19,11 @@ class Distrodata(OESelftestTestCase): > > feature = 'INHERIT += "distrodata"\n' > > feature += 'LICENSE_FLAGS_WHITELIST += " commercial"\n'

Re: [OE-core] [PATCH] pseudo: build with recent attr

2018-12-14 Thread Burton, Ross
We also maintain pseudo so lets get this upstream first, and then backport the patch. Ross On Fri, 14 Dec 2018 at 18:16, Enrico Scholz wrote: > > Recent attr package removed which is shipped by libc > for a very long time already. > > Signed-off-by: Enrico Scholz > --- >

Re: [OE-core] [PATCH 1/1] netbase: add entry to /etc/hosts according to /etc/hostname

2018-12-14 Thread Burton, Ross
On Fri, 30 Nov 2018 at 02:18, Chen Qi wrote: > We default hostname to ${MACHINE}, but it's not in /etc/hosts, > resulting in commands like `hostname -f' failing due to lack > of entry. > > So add entry to /etc/hosts according to /etc/hostname. We do > this via pkg_postinst because hostname is set

Re: [OE-core] [PATCH] python3: fix build for powerpc-linux.musl and powerpc64-linux-musl

2018-12-14 Thread Andrea Adami
Hi, the patch is now superseeded. Serhey sent a new patch-serie containing the fix for powerpc/musl, please review that. Thanks! Regards Andrea On Fri, Dec 14, 2018 at 4:13 AM Khem Raj wrote: > > Hi Andrea > > Sigh, while I dont like what configury is doing here, we can probably > instead

Re: [OE-core] Mis-generation of shell script (run.do_install)?

2018-12-14 Thread Jason Andryuk
On Tue, Dec 11, 2018 at 10:02 AM Richard Purdie wrote: > > On Tue, 2018-12-11 at 08:42 -0500, Jason Andryuk wrote: > > Has anyone ever seen a generated shell script missing functions? > > > > I have an OpenXT/OpenEmbedded setup where I had run many successful > > builds. I made a change and then

[OE-core] [PATCH] device-tree.bbclass: Add support to compile overlays separately

2018-12-14 Thread Jaewon Lee
Currently only dts files are considered when looping through files to compile. Modifying the loop to compile other files that are overlays. Also surrounding this check with a try block as the function to find overlays parses the file for a '/plugin/' tag, and there may be files in the

Re: [OE-core] [OE-Core][PATCH 07/13] musl: Ensure GLIBC_LDSO symlink target does not exist on reinstall

2018-12-14 Thread Andre McCurdy
On Fri, Dec 14, 2018 at 9:57 AM Serhey Popovych wrote: > > Otherwise do_install task will fail on rebuild. > > Signed-off-by: Serhey Popovych > --- > meta/recipes-core/musl/musl_git.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/musl/musl_git.bb >

[OE-core] [PATCH] testimage: Add possibility to pass parmeters to qemu

2018-12-14 Thread Erik Botö
Add a variable called TEST_QEMUPARAMS in testimage.bbclass to make it possible to pass parameters to qemu. This can be useful for e.g. increasing the amount of RAM available during testimage runs. Signed-off-by: Erik Botö --- meta/classes/testimage.bbclass | 5 - 1 file changed, 4

[OE-core] ✗ patchtest: failure for "lib/oe/recipeutils: Add a new ..." and 1 more

2018-12-14 Thread Patchwork
== Series Details == Series: "lib/oe/recipeutils: Add a new ..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/15355/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [PATCH] attr: updated acl + attr

2018-12-14 Thread Enrico Scholz via Openembedded-core
"Burton, Ross" writes: >> Recent acl and attr package versions changed their buildsystem to >> standard automake so that previous buildsystem related patches are not >> needed anymore and recipes become very simple. > > pseudo-native doesn't build anymore: strange... Requires an explicit '-c

[OE-core] ✗ patchtest: failure for attr: updated acl + attr (rev2)

2018-12-14 Thread Patchwork
== Series Details == Series: attr: updated acl + attr (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15341/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on

Re: [OE-core] [PATCH 2/2] oeqa/selftest/distrodata: Port to use the new recipeutils.get_recipe_upgrade_status() function

2018-12-14 Thread Alexander Kanavin
On Fri, 14 Dec 2018 at 19:16, Richard Purdie wrote: > @@ -17,11 +19,11 @@ class Distrodata(OESelftestTestCase): > feature = 'INHERIT += "distrodata"\n' > feature += 'LICENSE_FLAGS_WHITELIST += " commercial"\n' These are no longer needed? Otherwise, looks fantastic! --

[OE-core] [PATCH 2/2] oeqa/selftest/distrodata: Port to use the new recipeutils.get_recipe_upgrade_status() function

2018-12-14 Thread Richard Purdie
Rather than use the obsolete do_checkpkg function, use the new recipeutils function which uses tinfoil to get the data rather than needing csv file manipulation. Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/distrodata.py | 10 ++ 1 file changed, 6 insertions(+), 4

[OE-core] [PATCH 1/2] lib/oe/recipeutils: Add a new function to mimic do_checkpkg

2018-12-14 Thread Richard Purdie
The code in distrodata.bbclass related to the do_checkpkg task is rather dated, has holes in it (ignoring some recipes) and has horrible locking and csv related issues. We should use modern APIs such as tinfoil to make the calls we need directly against bitbake, cutting out the middleman and

[OE-core] [PATCH] pseudo: build with recent attr

2018-12-14 Thread Enrico Scholz via Openembedded-core
Recent attr package removed which is shipped by libc for a very long time already. Signed-off-by: Enrico Scholz --- ...001-use-sys-xattr.h-not-attr-xattr.h.patch | 54 +++ meta/recipes-devtools/pseudo/pseudo_git.bb| 1 + 2 files changed, 55 insertions(+) create mode

[OE-core] [OE-Core][PATCH 13/13] gcc-7.3, gcc-8.2: Use variable SYSTEMLIBS_DIR instead of hardcoding it for ppc64

2018-12-14 Thread Serhey Popovych
Signed-off-by: Serhey Popovych --- meta/recipes-devtools/gcc/gcc-7.3.inc | 1 + ...werpc-powerpc64-Add-support-for-musl-ldso.patch | 31 ++ meta/recipes-devtools/gcc/gcc-8.2.inc | 1 + ...werpc-powerpc64-Add-support-for-musl-ldso.patch | 31

[OE-core] [OE-Core][PATCH 11/13] gcc: More places to patch to disable ldbl 128 for musl on PPC

2018-12-14 Thread Serhey Popovych
There are four functions using TFmode type (128bit) that isn't available when building with musl. Move each of them from common ppc64-fp.c to individual files referenced from t-float128 that used when ldbl 128 enabled at configure time. For gcc-7.3 if -mfloat128 is given -mfloat128-type must be

[OE-core] [OE-Core][PATCH 09/13] python3: Fix do_configure check platform triplet error (2)

2018-12-14 Thread Serhey Popovych
When building for powerpc 32bit with musl following error triggered from do_configure: checking for the platform triplet based on compiler characteristics... powerpc-linux-gnu configure: error: internal configure error for the platform triplet, please file a bug report This is caused by

[OE-core] [OE-Core][PATCH 07/13] musl: Ensure GLIBC_LDSO symlink target does not exist on reinstall

2018-12-14 Thread Serhey Popovych
Otherwise do_install task will fail on rebuild. Signed-off-by: Serhey Popovych --- meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 9cc875c..4593cde 100644 ---

[OE-core] [OE-Core][PATCH 10/13] gcc: Fix preprocessor redefines for header pathes

2018-12-14 Thread Serhey Popovych
When building for powerpc64 using musl as C library we get preprocessor macro redefinition errors since gcc-configure-common.inc adds #define of STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 to gcc/defaults.h after ones added by a patch that ensures target gcc headers included.

[OE-core] [OE-Core][PATCH 12/13] gcc: Enable secureplt for powerpc64 target too

2018-12-14 Thread Serhey Popovych
Signed-off-by: Serhey Popovych --- meta/recipes-devtools/gcc/gcc-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 00fec0b..06c9033 100644 ---

[OE-core] [OE-Core][PATCH 04/13] qemuwrapper: Explicitly exit in case of no qemu supported for target

2018-12-14 Thread Serhey Popovych
Running qemu for userspace code on unsupported target binaries might be bad idea because qemu could say running in endless loop instead of crashing due to illegal instruction or unsupported binary format. While this is qemu bug we should avoid hitting it by explicitly exiting from the wrapper

[OE-core] [OE-Core][PATCH 06/13] musl: Create default library search path based on configuration

2018-12-14 Thread Serhey Popovych
In absence of /etc/ld-musl-$(ARCH).path file musl uses hardcoded default search path "/lib:/usr/local/lib:/usr/lib". This works for cases when system libraries installed in one of these pathes. However if lib64 or libx32 used as system library directories and no usr merge functionality enabled

[OE-core] [OE-Core][PATCH 08/13] openssl: Skip assembler optimized code for powerpc64 with musl

2018-12-14 Thread Serhey Popovych
This code is written for elfv1 ABI in mind and linked as such: disable all optimizations at the moment when building for powerpc64 with musl. Signed-off-by: Serhey Popovych --- meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb | 1 + meta/recipes-connectivity/openssl/openssl_1.1.1a.bb | 1

[OE-core] [OE-Core][PATCH 05/13] arch-powerpc64.inc: Use elfv2 ABI when building with musl

2018-12-14 Thread Serhey Popovych
Historically first PowerPC ABI was big-endian only (elfv1 currently). It is standard ABI for both 32-bit ppc and 64-bit ppc64 architectures. With PowerPC little-endian support new ABI was introduced (elfv2) and it is used primarily with ppc64le target only. While it has support for big-endian it

[OE-core] [OE-Core][PATCH 03/13] tune-power[5-7].inc: Disable QEMU usermode usage

2018-12-14 Thread Serhey Popovych
The QEMU usermode fails with invalid instruction error when used with those tunes. Signed-off-by: Serhey Popovych --- meta/conf/machine/include/tune-power5.inc | 3 +++ meta/conf/machine/include/tune-power6.inc | 3 +++ meta/conf/machine/include/tune-power7.inc | 3 +++ 3 files changed, 9

[OE-core] [OE-Core][PATCH 02/13] tune-power[5-7].inc: Fix DEFAULTTUNE values

2018-12-14 Thread Serhey Popovych
It is ppcpX, not ppcprX, where X is 6 or 7. While there select 32bit tune for P5 machine to bring it inline with P6 and P7. Signed-off-by: Serhey Popovych --- meta/conf/machine/include/tune-power5.inc | 2 +- meta/conf/machine/include/tune-power6.inc | 2 +-

[OE-core] [OE-Core][PATCH 01/13] lib/oe/elf.py: Add powerpc64 architecture definition for musl

2018-12-14 Thread Serhey Popovych
Add the ELF definition for the powerpc64 architecture when building with musl as libc. Signed-off-by: Serhey Popovych --- meta/lib/oe/elf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py index 0ed59ae..4cc9a9a 100644 --- a/meta/lib/oe/elf.py +++

[OE-core] [OE-Core][PATCH 00/13] powerpc/powerpc64: Support build with musl as libc

2018-12-14 Thread Serhey Popovych
Musl has support for ppc (32bit) and ppc64 (64bit). OE still missing several tricks in configuration to make builds possible: 1) Most important part is that musl implements elfv2 ABI only for 64bit PowerPC. That ABI is default for little-endian but supports big-endian too.

[OE-core] ✗ patchtest: failure for runqemu: formatting cleanups suggested by PyLint

2018-12-14 Thread Patchwork
== Series Details == Series: runqemu: formatting cleanups suggested by PyLint Revision: 1 URL : https://patchwork.openembedded.org/series/15350/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] ✗ patchtest: failure for package_manager: don't search for binaries in $PATH explicitly

2018-12-14 Thread Patchwork
== Series Details == Series: package_manager: don't search for binaries in $PATH explicitly Revision: 1 URL : https://patchwork.openembedded.org/series/15352/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several

[OE-core] [PATCH] package_manager: don't search for binaries in $PATH explicitly

2018-12-14 Thread Ross Burton
There's no point in looking for a command on $PATH using bb.utils.which() but then passing it to subprocess.check*() which will search $PATH. By just using the command directly, the code is visibly neater. Signed-off-by: Ross Burton --- meta/lib/oe/package_manager.py | 43

[OE-core] [PATCH] tcl: in run-ptest show output if a test fails

2018-12-14 Thread Ross Burton
If a test fails the log has useful information, so include that in the output. Signed-off-by: Ross Burton --- meta/recipes-devtools/tcltk/tcl/run-ptest | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest

[OE-core] [PATCH] runqemu: clean up subprocess usage

2018-12-14 Thread Ross Burton
Where possible pass lists instead of strings, don't use a subshell, and call check*() instead of using Popen directly. Signed-off-by: Ross Burton --- scripts/runqemu | 63 ++--- 1 file changed, 29 insertions(+), 34 deletions(-) diff --git

[OE-core] [PATCH] runqemu: formatting cleanups suggested by PyLint

2018-12-14 Thread Ross Burton
Mostly whitespace fixes but also some r"" strings to clarify regular expressions. Signed-off-by: Ross Burton --- meta/lib/oe/package_manager.py | 97 +- scripts/runqemu| 46 ++-- 2 files changed, 61 insertions(+), 82

[OE-core] [PATCH] libsoup: upgrade to 2.64.2

2018-12-14 Thread Ross Burton
Add new build dependency libpsl. Signed-off-by: Ross Burton --- .../libsoup/{libsoup-2.4_2.62.3.bb => libsoup-2.4_2.64.2.bb}| 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-support/libsoup/{libsoup-2.4_2.62.3.bb => libsoup-2.4_2.64.2.bb} (89%) diff

[OE-core] [PATCH] Revert "popt: update SRC_URI"

2018-12-14 Thread Ross Burton
Go back to use rpm5.org, as it's the canonical host for popt. The host is back up now. This reverts commit 347ee336dcc94e6fa4e4788117013615b90abd70. Signed-off-by: Ross Burton --- meta/recipes-support/popt/popt_1.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] libpsl: add

2018-12-14 Thread Ross Burton
A Public Suffix List is a collection of Top Level Domains (TLDs) suffixes. TLDs include Global Top Level Domains (gTLDs) like .com and .net; Country Top Level Domains (ccTLDs) like .de and .cn; and Brand Top Level Domains like .apple and .google. Brand TLDs allows users to register their own top

[OE-core] [PATCH] Revert "popt: update SRC_URI"

2018-12-14 Thread Ross Burton
Go back to use rpm5.org, as it's the canonical host for popt. The host is back up now. This reverts commit 347ee336dcc94e6fa4e4788117013615b90abd70. Signed-off-by: Ross Burton --- meta/recipes-support/popt/popt_1.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] attr: updated acl + attr

2018-12-14 Thread Burton, Ross
On Fri, 14 Dec 2018 at 13:27, Enrico Scholz via Openembedded-core wrote:> > Recent acl and attr package versions changed their buildsystem to > standard automake so that previous buildsystem related patches are not > needed anymore and recipes become very simple. pseudo-native doesn't build

Re: [OE-core] [PATCH 1/2] acl: trivial: whitespace only

2018-12-14 Thread Burton, Ross
Enrico just submitted some upgrades to acl and attr which touch the recipes quite dramatically, could you rebase all these patches on top of that? Several will just disappear, for example ptest support was removed. Ross On Fri, 14 Dec 2018 at 01:20, Douglas Royds wrote: > > Signed-off-by:

[OE-core] [PATCH 2/2] go-crosssdk: PN should use SDK_SYS, not TARGET_ARCH

2018-12-14 Thread Richard Purdie
The crosssdk dependencies are handled using the virtual/ namespace so this name doesn't matter in the general sense. We want to be able to provide recipe maintainer information through overrides though, so this standardises it with the behaviour from gcc-crosssdk and ensures the maintainer

[OE-core] [PATCH 1/2] maintainers: Clarify/add several entries

2018-12-14 Thread Richard Purdie
Images were previously missing but are added, this also corrects the names used for gcc/go/bintuils/gdb recipes and adds a few other misc missing ones to ensure we have complete coverage of the recipes in OE-Core. Signed-off-by: Richard Purdie --- meta/conf/distro/include/maintainers.inc | 57

[OE-core] [PATCH] attr: updated acl + attr

2018-12-14 Thread Enrico Scholz via Openembedded-core
Recent acl and attr package versions changed their buildsystem to standard automake so that previous buildsystem related patches are not needed anymore and recipes become very simple. Other, functionality related patches are integrated in upstream and were removed too. Because of the buildsystem

Re: [OE-core] [PATCH] perl{,-native}: Update 5.24.4 -> 5.28.1

2018-12-14 Thread Richard Purdie
On Fri, 2018-12-14 at 10:43 +0100, Jens Rehsack wrote: > Update recipe for Perl Programming Language to 5.28.0: > * update debian patches from perl_5.28.0-4.debian.tar.xz > * re-introduce separation between platform specific and platform > independent library directories > * introduce

[OE-core] ✗ patchtest: failure for perl{,-native}: Update 5.24.4 -> 5.28.1

2018-12-14 Thread Patchwork
== Series Details == Series: perl{,-native}: Update 5.24.4 -> 5.28.1 Revision: 1 URL : https://patchwork.openembedded.org/series/15340/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

Re: [OE-core] [PATCH] linux-libc-headers: workaround do_install failure while host gcc version < 4.5

2018-12-14 Thread Hongxu Jia
Talked with Zhe, there is already fix on the thread, so please ignore this one [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pip //Hongxu On 2018/12/14 下午4:54, Hongxu Jia wrote: Since kernel commit [e501ce9 x86: Force asm-goto], running `make

[OE-core] [PATCH] linux-libc-headers: workaround do_install failure while host gcc version < 4.5

2018-12-14 Thread Hongxu Jia
Since kernel commit [e501ce9 x86: Force asm-goto], running `make menuconfig (bitbake linux-yocto -cmenuconfig)' requires host gcc support asm-goto which gcc version >= 4.5 It broke linux-libc-headers do_install even though there is no relation with `make menuconfig' Set CC_HAVE_ASM_GOTO="1" to