[OE-core] [PATCH] ltp: Fix nm01 faliure

2020-01-18 Thread zhe.he
From: He Zhe Backport a patch from upstream to fix the following runtime failure. The latest nm v2.33.1 outputs symbols addresses without prefix zeros for "nm -f posix", which causes the following error. nm01 5 TFAIL: Got wrong format with -f bsd (From OE-Core rev: 59cb0dd9f8e65b2d398fcaf4d163c

Re: [OE-core] ✗ patchtest: failure for Open file with O_CLOEXEC to avoid fd leak (rev3)

2020-01-18 Thread Yu, Mingli
On 01/19/20 13:32, Patchwork wrote: == Series Details == Series: Open file with O_CLOEXEC to avoid fd leak (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/22123/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an a

[OE-core] ✗ patchtest: failure for Open file with O_CLOEXEC to avoid fd leak (rev3)

2020-01-18 Thread Patchwork
== Series Details == Series: Open file with O_CLOEXEC to avoid fd leak (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/22123/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have bee

[OE-core] [PATCH v3] pseudo_util.c: Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Signed-off-by: Mingli Yu --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util

[OE-core] ✗ patchtest: failure for Open file with O_CLOEXEC to avoid fd leak (rev2)

2020-01-18 Thread Patchwork
== Series Details == Series: Open file with O_CLOEXEC to avoid fd leak (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/22123/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have bee

[OE-core] [PATCH v2] Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. Signed-off-by: Mingli Yu --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util

[OE-core] ✗ patchtest: failure for Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread Patchwork
== Series Details == Series: Open file with O_CLOEXEC to avoid fd leak Revision: 1 URL : https://patchwork.openembedded.org/series/22123/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been execu

[OE-core] [PATCH] Open file with O_CLOEXEC to avoid fd leak

2020-01-18 Thread mingli.yu
From: Pavel Modilaynen Use close-on-exec (O_CLOEXEC) flag when open log file to make sure its file descriptor is not leaked to parent process on fork/exec. --- pseudo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_util.c b/pseudo_util.c index c867ed6..0ec527b 1

[OE-core] [PATCH v2] newlib: Enable building libstdc++ for newlib based toolchains

2020-01-18 Thread Alejandro Enedino Hernandez Samaniego
Some baremetal applications might require support from libstdc++ On newlib based toolchains, libstdc++ can be built as a static library that applications can then link against it. Pass libsdtc++-(static)dev to LIBC_DEPENDENCIES allowing the library to be present for cross compilation as well as on

[OE-core] [PATCH] gcc-configure: Enable the use of different symbol versioning

2020-01-18 Thread Alejandro Enedino Hernandez Samaniego
While the gnu style for symbol versioning is the most usual, --enable-symvers[=style] can be provided several values, gnu, gnu-versioned-namespace, darwin, darwin-export, and sun, depending on users needs. Introduce the SYMVERS_CONF variable to allow the user to configure the symbol versioning in

[OE-core] [PATCH] dnf: upgrade 4.2.2 -> 4.2.18

2020-01-18 Thread Wang Mingyu
Signed-off-by: Wang Mingyu --- meta/recipes-devtools/dnf/{dnf_4.2.2.bb => dnf_4.2.18.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/dnf/{dnf_4.2.2.bb => dnf_4.2.18.bb} (98%) diff --git a/meta/recipes-devtools/dnf/dnf_4.2.2.bb b/meta/recipes-devtools/dnf/

Re: [OE-core] [PATCH] newlib: Enable building libstdc++ for newlib based toolchains

2020-01-18 Thread Alejandro Enedino Hernandez Samaniego
On Sat, 18 Jan 2020 at 15:25, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Sat, 2020-01-18 at 13:22 -0800, Alejandro Enedino Hernandez > Samaniego wrote: > > Some baremetal applications might require support from libstdc++. > > > > On newlib based toolchains, libstdc++ can be b

Re: [OE-core] glibc and LDFLAGS

2020-01-18 Thread Richard Purdie
On Sat, 2020-01-18 at 22:25 +, Rasmus Villemoes wrote: > I've added a custom setting to TARGET_LDFLAGS, but then I noticed > that > the glibc build ignored that. The glibc do_compile did > > LDFLAGS = "" > > for a very long time, with the explanation that "# -Wl,-rpath-link > /lib in LDFLAGS

Re: [OE-core] [PATCH] newlib: Enable building libstdc++ for newlib based toolchains

2020-01-18 Thread Richard Purdie
On Sat, 2020-01-18 at 13:22 -0800, Alejandro Enedino Hernandez Samaniego wrote: > Some baremetal applications might require support from libstdc++. > > On newlib based toolchains, libstdc++ can be built as a static > library that applications can then link against it. > > Pass libsdtc++-(static)d

Re: [OE-core] [PATCH] logrotate.py: improve oeqa test implementation

2020-01-18 Thread Richard Purdie
On Thu, 2020-01-16 at 15:19 -0500, Trevor Gamblin wrote: > From: Trevor Gamblin > > See bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=13632 > > Autobuilder tests occasionally fail, reporting that a new logfile > could not be created. While this failure did occur multiple times, it > coul

Re: [OE-core] [PATCH] libfm: Add mime and mime-xdg classes

2020-01-18 Thread Andreas Müller
On Sat, Jan 18, 2020 at 6:48 PM Richard Purdie wrote: > > libfm installs mime types we want in our mime-database and it also uses > desktop files > containing MimeType. > > Signed-off-by: Richard Purdie > --- > meta/recipes-support/libfm/libfm_1.3.1.bb | 2 +- > 1 file changed, 1 insertion(+),

[OE-core] glibc and LDFLAGS

2020-01-18 Thread Rasmus Villemoes
I've added a custom setting to TARGET_LDFLAGS, but then I noticed that the glibc build ignored that. The glibc do_compile did LDFLAGS = "" for a very long time, with the explanation that "# -Wl,-rpath-link /lib in LDFLAGS can cause breakage if another glibc is in staging". Is that actually still

[OE-core] [AUH] Upgrade status: 2020-01-18

2020-01-18 Thread auh
Recipe upgrade statistics: * Failed (devtool error): 19 sysklogd, 2.1, Chen Qi ifupdown, 0.8.35, Anuj Mittal rpm, 4.15.1, Mark Hatle rt-tests, 1.6, Alexander Kanavin e2fsprogs, 1.45.5, Robert Yang acl, 2.2.53, Chen Qi atk, 2.34.1, A

[OE-core] [PATCH] machine_dict: Add i686 to the ELF machine dictionary

2020-01-18 Thread Alejandro Enedino Hernandez Samaniego
An error like the following is thrown when building baremetal applications on some x86 architectures: (machine, osabi, abiversion, littleendian, bits) \ = oe.elf.machine_dict(d)[target_os][target_arch] Exception: KeyError: i686 Since the i686 (target_arch) key does not exist in the diction

[OE-core] [PATCH] newlib: Enable building libstdc++ for newlib based toolchains

2020-01-18 Thread Alejandro Enedino Hernandez Samaniego
Some baremetal applications might require support from libstdc++. On newlib based toolchains, libstdc++ can be built as a static library that applications can then link against it. Pass libsdtc++-(static)dev to LIBC_DEPENDENCIES allowing the library to be present for cross compilation as well as

[OE-core] [PATCH 5/5] ghostscript: Add powerpc64 LE specific objarch.h

2020-01-18 Thread Khem Raj
Signed-off-by: Khem Raj --- .../ghostscript/powerpc64le/objarch.h | 40 +++ 1 file changed, 40 insertions(+) create mode 100644 meta/recipes-extended/ghostscript/ghostscript/powerpc64le/objarch.h diff --git a/meta/recipes-extended/ghostscript/ghostscript/powerpc64le/ob

[OE-core] [PATCH 4/5] tcf-agent: Add LCL_STOP_SERVICES for powerpc64 LE

2020-01-18 Thread Khem Raj
This is same as PPC64 BE Signed-off-by: Khem Raj --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb index b4bd4ca63c..e0a07a9375 100644 --- a

[OE-core] [PATCH 1/5] classes, conf, lib: Add support for powerpc64le

2020-01-18 Thread Khem Raj
LE is default for modern powerpc64, power8+ PowerPC64 Little Endian Linux ABI specifies Power8 as the minimum ISA. The basic ABI can run on earlier versions of the 64 bit PowerPC ISA, but it was helpful to define a new, minimum instruction set for Linux distribution releases during the switch to L

[OE-core] [PATCH 3/5] openssl: Add powerpc64 LE support

2020-01-18 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-connectivity/openssl/openssl_1.1.1d.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb index 458ae7daf4..7fd0f9a269 100644 --- a/meta/recipes-

[OE-core] [PATCH 2/5] gcc: Enable 32bit powerpcle at multi-arch for powerpc64le

2020-01-18 Thread Khem Raj
Even though we do not expect any legacy ( 32bit ) for LE, linux-yocto does enable the compat code, so enable 32bit support to get that going Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-common.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-comm

[OE-core] [PATCH 0/5] Introduce powerpc64 LE architecture support

2020-01-18 Thread Khem Raj
This patchset adds base support for building ppc64 in Litte-Endian mode, the linux-yocto changes and qemu related changes will make it buildable target out of box, but that is not yet made available The following changes since commit ecbf203e34484731dcb6acc5e75df79cb86e55dc: sstatesig: Improve

Re: [OE-core] [PATCH][v2 00/10] Make MIME work on desktops

2020-01-18 Thread Richard Purdie
On Sat, 2020-01-18 at 11:13 +, Richard Purdie wrote: > On Sat, 2020-01-18 at 12:08 +0100, Andreas Müller wrote: > > On Sat, Jan 18, 2020 at 9:40 AM Richard Purdie > > wrote: > > > > V1 -> V2: > > > > * Shelve global path export thingy > > > > * Add me as maintainer of itstool (let's consider '

[OE-core] [PATCH] libfm: Add mime and mime-xdg classes

2020-01-18 Thread Richard Purdie
libfm installs mime types we want in our mime-database and it also uses desktop files containing MimeType. Signed-off-by: Richard Purdie --- meta/recipes-support/libfm/libfm_1.3.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libfm/libfm_1.3.1.bb b

Re: [OE-core] Building older releases on modern distros (and vice versa)

2020-01-18 Thread Richard Purdie
On Fri, 2020-01-17 at 14:41 -0800, akuster808 wrote: > I would like to thank you and Intel for taking up this task even > thought > the community seemed to have issues with Centos7 being dropped. > > Is there anything community can do at this point? The work isn't complete, we have a proof of con

Re: [OE-core] [PATCH][v2 00/10] Make MIME work on desktops

2020-01-18 Thread Richard Purdie
On Sat, 2020-01-18 at 12:08 +0100, Andreas Müller wrote: > On Sat, Jan 18, 2020 at 9:40 AM Richard Purdie > wrote: > > > V1 -> V2: > > > * Shelve global path export thingy > > > * Add me as maintainer of itstool (let's consider 'ü' in my name > > > as > > > test case :) > > > * Change "to to" to "

Re: [OE-core] [PATCH][v2 00/10] Make MIME work on desktops

2020-01-18 Thread Andreas Müller
On Sat, Jan 18, 2020 at 9:40 AM Richard Purdie wrote: > > > > V1 -> V2: > > * Shelve global path export thingy > > * Add me as maintainer of itstool (let's consider 'ü' in my name as > > test case :) > > * Change "to to" to "to" in commit message > > * Build shared-mime-info from git to allow auto

Re: [OE-core] [oe] [RFC PATCH] python: remove Python 2 and all supporting classes

2020-01-18 Thread Richard Purdie
On Fri, 2020-01-17 at 14:16 +, Ross Burton wrote: > Python 2 ceased being maintained on the 1st January 2020. We've > already > removed all users of it from oe-core so the final step is to move the > recipe and supporting classes to meta-python2. > > The following are removed in this commit:

Re: [OE-core] [PATCH][v2 00/10] Make MIME work on desktops

2020-01-18 Thread Richard Purdie
On Fri, 2020-01-17 at 22:28 +0100, Andreas Müller wrote: > On fresh images file-browsers do not know how to open files and > usually open a > dialog with ALL applications available on the machine. This is not > what users > are used to when working with linux: For just one application > installed p