Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-11 Thread Bruce Ashfield
On Tue, Dec 11, 2018 at 9:33 AM Martin Hundebøll wrote: > > > > On 11/12/2018 15.17, Bruce Ashfield wrote: > > On Tue, Dec 11, 2018 at 2:49 AM He Zhe wrote: > >> > >> > >> > >> On 2018/12/11 00:58, Bruce Ashfield wrote: > >>> > >>> > >>> On Wed, Nov 21, 2018 at 9:06 AM >>>

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

2018-12-11 Thread Richard Purdie
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 re-ran the build - it failed in > binutil's do_install with

Re: [OE-core] [PATCH] avahi: avoid depending on skipped package

2018-12-11 Thread Jens Rehsack
Yes, for name-resolution via zeroconf. > Am 28.11.2018 um 12:20 schrieb Burton, Ross : > > Is Avahi actually useful without DBus? > > This reminds me that I've been wanting to gut that recipe for a long time > now... > > Ross > On Wed, 28 Nov 2018 at 08:16, Jens Rehsack wrote: >> >> When

[OE-core] Yocto Project Status WW50’18

2018-12-11 Thread Jolley, Stephen K
Current Dev Position: YP 2.7 M1. Next Deadline: YP 2.7 M1 Cutoff is Dec. 10, 2018 SWAT Team Rotation: · SWAT lead is currently: Chen · SWAT team rotation: Chen -> Armin on Dec. 14, 2018 · SWAT team rotation: Armin -> Anuj on Dec. 21, 2018 ·

[OE-core] [PATCH V2 1/5] oeqa/sdk: clarify ELF assertion message

2018-12-11 Thread Ross Burton
For example, instead of saying "3 != 62", say "Binary was x86-64 but expected i586". Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/case.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py index

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

2018-12-11 Thread Hong Liu
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 => python-setuptools_40.6.2.bb} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename

[OE-core] [PATCH 2/5] oeqa/sdk: show output if run() fails

2018-12-11 Thread Ross Burton
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that any output is shown, and remove any explicit try/catch handling that would have hidden this. (From OE-Core rev: 0fcc1f7d1f7d4efc793005e194edc048b0c9d388) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie

[OE-core] [PATCH 1/5] oeqa/sdk: clarify ELF assertion message

2018-12-11 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/case.py | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/sdk/case.py b/meta/lib/oeqa/sdk/case.py index ea15d6a107e..d8611c8b308 100644 --- a/meta/lib/oeqa/sdk/case.py +++

[OE-core] [PATCH V2 4/5] oeqa/sdk: rewrite lzip test

2018-12-11 Thread Ross Burton
Don't use the helper class as it gets in the way more than it helps, exercise the out-of-tree paths, and verify the installed files match the expected architecture. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildlzip.py | 61 +--- 1 file changed, 28

[OE-core] [PATCH V2 2/5] oeqa/sdk: show output if run() fails

2018-12-11 Thread Ross Burton
Use oeqa.utils.subprocesstweak to monkey-patch the subprocess exception so that any output is shown, and remove any explicit try/catch handling that would have hidden this. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildcpio.py | 3 +++ meta/lib/oeqa/sdk/cases/buildlzip.py | 2

[OE-core] [PATCH V2 3/5] oeqa/sdk: clean up galculator test

2018-12-11 Thread Ross Burton
Drop redundant imports and variables, and use os.makedirs() instead of bb.utils.mkdirhier(). Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildgalculator.py | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/meta/lib/oeqa/sdk/cases/buildgalculator.py

[OE-core] [PATCH V2 5/5] oeqa/sdk: rewrite cpio test

2018-12-11 Thread Ross Burton
Don't use the helper class as it gets in the way more than it helps, exercise the out-of-tree paths, and verify the installed files match the expected architecture. Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildcpio.py | 49 1 file changed, 22

[OE-core] [PATCH 3/5] oeqa/sdk: clean up galculator test

2018-12-11 Thread Ross Burton
Drop redundant imports and variables, and use os.makedirs() instead of bb.utils.mkdirhier(). (From OE-Core rev: fe49be0608e8beac45be2335f1ec970db8ea5e1f) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildgalculator.py | 11

[OE-core] [PATCH 4/5] oeqa/sdk: rewrite lzip test

2018-12-11 Thread Ross Burton
Don't use the helper class as it gets in the way more than it helps, exercise the out-of-tree paths, and verify the installed files match the expected architecture. (From OE-Core rev: ad7bb5d141165fc9e6ffee882adf709c0a76094f) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie

Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-11 Thread He Zhe
On 2018/12/11 22:17, Bruce Ashfield wrote: > On Tue, Dec 11, 2018 at 2:49 AM He Zhe wrote: >> >> >> On 2018/12/11 00:58, Bruce Ashfield wrote: >>> >>> On Wed, Nov 21, 2018 at 9:06 AM >> > wrote: >>> >>> From: He Zhe mailto:zhe...@windriver.com>> >>> >>>

[OE-core] [PATCH 2/6] ccache.bbclass: Refactor it to make it more reliable

2018-12-11 Thread Robert Yang
The previous ccache.bbclass has the following problems: - It uses host's ccache for native recipes, but this may not work on some hosts, for example, it nerver works on my Ubuntu 14.04.4, there are always build failures (m4-native failed at do_configure, and others will also be failed if I

[OE-core] [PATCH 6/6] oeqa/selftest/cases: Update test_ccache_tool

2018-12-11 Thread Robert Yang
Now we can compile m4-native rather than target m4, this can save a lot of build time. Signed-off-by: Robert Yang --- meta/lib/oeqa/selftest/cases/buildoptions.py | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py

[OE-core] [PATCH 4/6] cmake.bbclass/goarch.bbclass: Set CCACHE_DISABLE

2018-12-11 Thread Robert Yang
They can't be built with ccache. Signed-off-by: Robert Yang --- meta/classes/cmake.bbclass | 4 ++-- meta/classes/goarch.bbclass | 4 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index b364d2b..12fc452 100644 ---

[OE-core] [PATCH 1/6] ccache-native: Remove dependencies

2018-12-11 Thread Robert Yang
Remove ccache-native's dependencies so that all native recipes can depend on ccache-native and use it except ccache-native itself. It has the following 4 dependencies: - xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz to replace of it can fix the problem.

[OE-core] [PATCH 5/6] base.bbclass: Add comments for gcc links to ccache

2018-12-11 Thread Robert Yang
Signed-off-by: Robert Yang --- meta/classes/base.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e715ffa..e6af673 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -122,6 +122,10 @@ def

[OE-core] [PATCH 0/6 V2] ccache.bbclass: Refactor it to make it more reliable

2018-12-11 Thread Robert Yang
* V2 - Fix comments from Martin Jansa and Martin Hundebøll. - Fix RP's comments: 1) Add comments for ccache related code in base.bbclass 2) Remove all ccache-native's dependencies so that all recipes can depend on and use it. - Update test_ccache_tool in oeqa * V1 - Initial

[OE-core] [PATCH 3/6] apr/openssl10: Enable ccache for them

2018-12-11 Thread Robert Yang
They work well now. Signed-off-by: Robert Yang --- meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb | 3 --- meta/recipes-support/apr/apr_1.6.5.bb | 5 - 2 files changed, 8 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
On 12/11/18 6:42 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18 6:29 PM, Richard Purdie wrote: No, that

[OE-core] [PATCH V3] pulseaudio: improve reproducibility

2018-12-11 Thread Hongxu Jia
There are two fixes, one is sent to upstream, and another is oe specific. [YOCTO #12638] Signed-off-by: Hongxu Jia --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 5 +- ...-special-build-flag-to-explicitly-disable.patch | 161 +

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread richard . purdie
On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: > On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: > > On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: > > > On 12/10/18 6:29 PM, Richard Purdie wrote: > > No, that isn't correct :( > > > > The problem is that "gcc" can be

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Yang, Liezhi
Sent from mobile phone > 在 2018年12月11日,18:43,"richard.pur...@linuxfoundation.org" > 写道: > >> On Tue, 2018-12-11 at 18:12 +0800, Robert Yang wrote: >>> On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18

Re: [OE-core] [PATCH 4/4] oeqa/sdk: rewrite lzip test

2018-12-11 Thread ChenQi
There's a failure related to this patch. https://autobuilder.yoctoproject.org/typhoon/#/builders/48/builds/80/steps/7/logs/step1c Best Regards, Chen Qi On 12/11/2018 01:11 AM, Ross Burton wrote: Don't use the helper class as it gets in the way more than it helps, exercise the out-of-tree

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
Hi RP, On 12/11/18 5:44 PM, richard.pur...@linuxfoundation.org wrote: On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: On 12/10/18 6:29 PM, Richard Purdie wrote: On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: The code is in setup_hosttools_dir(), it searches ccache in PATH in

Re: [OE-core] [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug

2018-12-11 Thread Burton, Ross
On Tue, 11 Dec 2018 at 08:58, Ola x Nilsson wrote: > -self.logger.error("GDB result:\n%s: %s" % output) > +self.logger.error("GDB result:\n%s: %s", status, output) Isn't status an integer so should be %d? Ross -- ___

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread richard . purdie
On Tue, 2018-12-11 at 17:24 +0800, Robert Yang wrote: > > On 12/10/18 6:29 PM, Richard Purdie wrote: > > On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: > > > The code is in setup_hosttools_dir(), it searches ccache in PATH > > > in > > > reverse order, I can't figure out what it is used

[OE-core] [thud][PATCH] nss: Fix SHA_HTONL bug for arm 32be.

2018-12-11 Thread Zheng Ruoqin
Rpm use nss as digest crypto library and which will cause an error as follows: error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong error:

Re: [OE-core] [PATCH 4/4] oeqa/sdk: rewrite lzip test

2018-12-11 Thread Burton, Ross
On Tue, 11 Dec 2018 at 09:44, ChenQi wrote: > There's a failure related to this patch. > https://autobuilder.yoctoproject.org/typhoon/#/builders/48/builds/80/steps/7/logs/step1c Strictly speaking the test was already broken, now it tells us. :) Shall fix. Ross --

[OE-core] [PATCH] lzip: clean up recipe

2018-12-11 Thread Ross Burton
Use cleandirs to ensure ${B} is always empty, and remove redundant assignment of EXTRA_OEMAKE (presumably from when it had a non-empty default). Signed-off-by: Ross Burton --- meta/recipes-extended/lzip/lzip_1.20.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[OE-core] [PATCH v3] oe: Fix opkg status list parse - Missing postinst

2018-12-11 Thread Raul Martins
While parsing opkg package status, last package status was not properly handled, resulting in final image without postinst and pkg depends Signed-off-by: Raul Martins --- meta/lib/oe/rootfs.py | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git

[OE-core] ✗ patchtest: failure for oe: Fix opkg status list parse - Missing postinst (rev2)

2018-12-11 Thread Patchwork
== Series Details == Series: oe: Fix opkg status list parse - Missing postinst (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/15298/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests

[OE-core] [PATCH v2] oe: Fix opkg status list parse - Missing postinst

2018-12-11 Thread Raul Martins
While parsing opkg package status, last package status was not properly handled, resulting in final image without postinst and pkg depends Signed-off-by: Raul Martins --- meta/lib/oe/rootfs.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/lib/oe/rootfs.py

[OE-core] [sumo][PATCH] nss: Fix SHA_HTONL bug for arm 32be.

2018-12-11 Thread Zheng Ruoqin
Rpm use nss as digest crypto library and which will cause an error as follows: error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe81) => this value is wrong error:

[OE-core] [yocto-kernel-tools][PATCH] tools/kconf_check: modify grep pattern

2018-12-11 Thread Hongzhi.Song
The cmd line, , can't match all expect config options. This is because that it is not always space after 'config' in kernel-source/*/.../Kconfig. e.g. "config IP_VS_IPV6" in net/netfilter/ipvs/Kconfig So we should change the cmd to grep '^[ ]*\(menu\)*config\s'. Signed-off-by: Hongzhi.Song

Re: [OE-core] [PATCH 2/4] ccache.bbclass: Refactor it to make it more reliable

2018-12-11 Thread Robert Yang
On 12/10/18 4:55 PM, Martin Hundebøll wrote: Hi Robert, Just a small nit-pick below.. On 10/12/2018 03.24, Robert Yang wrote: The previous ccache.bbclass has the following problems: - It uses host's ccache for native recipes, but this may not work on some    hosts, for example, it nerver

Re: [OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code

2018-12-11 Thread Robert Yang
On 12/10/18 6:29 PM, Richard Purdie wrote: On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: The code is in setup_hosttools_dir(), it searches ccache in PATH in reverse order, I can't figure out what it is used for, maybe it is aimed to use host's ccache rather than recipe-sysroot-

[OE-core] [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug

2018-12-11 Thread Ola x Nilsson
Signed-off-by: Ola x Nilsson --- meta/lib/oeqa/selftest/cases/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 0a88dc25b3..b0abc2f4ee 100644 ---

[OE-core] ✗ patchtest: failure for tools/kconf_check: modify grep pattern

2018-12-11 Thread Patchwork
== Series Details == Series: tools/kconf_check: modify grep pattern Revision: 1 URL : https://patchwork.openembedded.org/series/15290/ 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 3/4] apr/openssl10: Enable ccache for them

2018-12-11 Thread Robert Yang
On 12/10/18 4:38 PM, Martin Jansa wrote: On Sun, Dec 09, 2018 at 06:24:23PM -0800, Robert Yang wrote: The work well now. Signed-off-by: Robert Yang --- meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb | 3 --- meta/recipes-support/apr/apr_1.6.5.bb | 1 - 2 files

Re: [OE-core] [PATCH 2/4] ccache.bbclass: Refactor it to make it more reliable

2018-12-11 Thread Robert Yang
On 12/11/18 12:16 AM, Richard Purdie wrote: On Sun, 2018-12-09 at 18:24 -0800, Robert Yang wrote: The previous ccache.bbclass has the following problems: - It uses host's ccache for native recipes, but this may not work on some hosts, for example, it nerver works on my Ubuntu 14.04.4,

[OE-core] [PATCH 5/5] oeqa/sdk: rewrite cpio test

2018-12-11 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oeqa/sdk/cases/buildcpio.py | 49 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index 6697b12de29..ff3e1347d37 100644 ---

Re: [OE-core] [PATCH] selftest/package: Correct format arguments in test_gdb_hardlink_debug

2018-12-11 Thread Ola x Nilsson
On Tue, Dec 11 2018, Burton, Ross wrote: > On Tue, 11 Dec 2018 at 08:58, Ola x Nilsson wrote: >> -self.logger.error("GDB result:\n%s: %s" % output) >> +self.logger.error("GDB result:\n%s: %s", status, output) > > Isn't status an integer so should be %d? > Both seem to

[OE-core] [PATCH v2] selftest/package: Correct format arguments in test_gdb_hardlink_debug

2018-12-11 Thread Ola x Nilsson
Signed-off-by: Ola x Nilsson --- meta/lib/oeqa/selftest/cases/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/package.py b/meta/lib/oeqa/selftest/cases/package.py index 0a88dc25b3..6596dabc32 100644 ---

[OE-core] [PATCH] curl: Add PACKAGECONFIG to enable NSS support

2018-12-11 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- meta/recipes-support/curl/curl_7.62.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/curl/curl_7.62.0.bb b/meta/recipes-support/curl/curl_7.62.0.bb index 2baab2b503..4229fa39ca 100644 --- a/meta/recipes-support/curl/curl_7.62.0.bb

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

2018-12-11 Thread Jason Andryuk
Hi, 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 re-ran the build - it failed in binutil's do_install with autotools_do_install command not found.

[OE-core] [PATCH] oe: Fix opkg status list parse - Missing postinst

2018-12-11 Thread Raul Martins
While parsing opkg package status, last package status was not properly handled, resulting in final image without postinst and pkg depends Signed-off-by: Raul Martins --- meta/lib/oe/rootfs.py | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git

Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-11 Thread Bruce Ashfield
On Tue, Dec 11, 2018 at 2:49 AM He Zhe wrote: > > > > On 2018/12/11 00:58, Bruce Ashfield wrote: > > > > > > On Wed, Nov 21, 2018 at 9:06 AM > > wrote: > > > > From: He Zhe mailto:zhe...@windriver.com>> > > > > This is a workaround for the following possible

Re: [OE-core] [PATCH v4] linux-libc-headers: Fix build failure by using fixed temporary file instead of pipe

2018-12-11 Thread Martin Hundebøll
On 11/12/2018 15.17, Bruce Ashfield wrote: On Tue, Dec 11, 2018 at 2:49 AM He Zhe wrote: On 2018/12/11 00:58, Bruce Ashfield wrote: On Wed, Nov 21, 2018 at 9:06 AM mailto:zhe...@windriver.com>> wrote: From: He Zhe mailto:zhe...@windriver.com>> This is a workaround for the