Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Richard Purdie
On Thu, 2019-03-07 at 18:00 +0800, Zhixiong Chi wrote: > It's not for dependency of the package in the initramfs image, > > just for the multithread application while the customer use initramfs > image. > > Since we use PACKAGE_INSTALL to override the rootfs in the initramfs > bb > file, > >

Re: [OE-core] [PATCH] libpcre2: fix CVE-2017-7186

2019-03-07 Thread Burton, Ross
Retracting this, I can't tell the difference between 10.32 and 10.23. Ross On Wed, 6 Mar 2019 at 22:51, Ross Burton wrote: > > Signed-off-by: Ross Burton > --- > .../libpcre/libpcre2/CVE-2017-7186.patch | 83 > ++ > meta/recipes-support/libpcre/libpcre2_10.32.bb

Re: [OE-core] [PATCH 1/3] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Burton, Ross
On Thu, 7 Mar 2019 at 13:11, Max Kellermann wrote: > +PACKAGECONFIG[sqlite] = ",--disable-sqlite,sqlite3" > +PACKAGECONFIG[external-libs] = ",--disable-external-libs,flac libogg > libvorbis" Always be explicit and pass --enable-sqlite --eanble-external-libs too. Rss --

[OE-core] [PATCH v2] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Max Kellermann
From: Max Kellermann Signed-off-by: Max Kellermann --- meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb

Re: [OE-core] [PATCH v2] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Burton, Ross
On Thu, 7 Mar 2019 at 13:27, Max Kellermann wrote: > > How about renaming the option to regtest and disabling by default? > > What do you think about disabling it unconditionally? I wouldn't object. Ross -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH v2] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Max Kellermann
On 2019/03/07 14:23, "Burton, Ross" wrote: > I just double-took at the sqlite dependency. This is only used by a > testing tool that we don't build or install. > > How about renaming the option to regtest and disabling by default? What do you think about disabling it unconditionally? --

Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Burton, Ross
On Thu, 7 Mar 2019 at 14:46, Khem Raj wrote: > your suggestion about letting needing package rdep on it right, but > adding a hardcoded dependency on libgcc is not. We have to consider > a case where where there are alternatives to libgcc which can provide > same functionality and is preferred.

Re: [OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread Leon Woestenberg
On Thu, Mar 7, 2019 at 3:27 PM Adrian Bunk wrote: > > From: André Draszik > > It looks like there is an implicit dependency on util-linux' > umount - as otherwise when using busybox' umount we see a > long delay on shutdown / reboot. > > [YOCTO #13058] > That bug number is wrong, seems only

Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Burton, Ross
On Thu, 7 Mar 2019 at 12:34, Richard Purdie wrote: > The customer needs to depend on libgcc in their app, or their > initramfs, we're not adding random dependencies to the initramfs "just > in case". Part of the goal of my ELF parser rewrite was to make it easy to add libgcc dependencies on

[OE-core] [PATCH 1/3] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Max Kellermann
From: Max Kellermann Signed-off-by: Max Kellermann --- meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.28.bb

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-07 Thread Richard Purdie
On Wed, 2019-03-06 at 23:23 -0500, Bruce Ashfield wrote: > On Wed, Mar 6, 2019 at 11:21 PM Bruce Ashfield < > bruce.ashfi...@gmail.com> wrote: > > On Wed, Mar 6, 2019 at 6:05 PM Richard Purdie > > wrote: > > >

[OE-core] [PATCH 2/3] useradd-staticids: print exception after parse_args() error

2019-03-07 Thread Max Kellermann
From: Max Kellermann Without this, the user has no idea what went wrong. Signed-off-by: Max Kellermann --- meta/classes/useradd-staticids.bbclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/useradd-staticids.bbclass

[OE-core] [PATCH 3/3] initrdscripts: merge multiple "mkdir" calls

2019-03-07 Thread Max Kellermann
From: Max Kellermann Reduce overhead. Signed-off-by: Max Kellermann --- meta/recipes-core/initrdscripts/files/init-live.sh | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) mode change 100644 => 100755 meta/recipes-core/initrdscripts/files/init-live.sh diff --git

Re: [OE-core] [PATCH v2] libsndfile1: make sqlite and FLAC/Vorbis optional

2019-03-07 Thread Burton, Ross
I just double-took at the sqlite dependency. This is only used by a testing tool that we don't build or install. How about renaming the option to regtest and disabling by default? Ross On Thu, 7 Mar 2019 at 13:18, Max Kellermann wrote: > > From: Max Kellermann > > Signed-off-by: Max

[OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread Adrian Bunk
From: André Draszik It looks like there is an implicit dependency on util-linux' umount - as otherwise when using busybox' umount we see a long delay on shutdown / reboot. [YOCTO #13058] (From OE-Core rev: 39a3d2c603429865af632fe41b2cf32c3dfdfb1d) Signed-off-by: André Draszik Signed-off-by:

Re: [OE-core] npm offline build for yocto

2019-03-07 Thread Davis, Michael
Unfortunately no. I could never get the cache to prefill correctly with node 8 and haven't tried any of the newer versions. The way they did the sha1/256/512 sums made it impossible to prefill the cache, and the import of tars just didn’t work. I ended up using yarn and building the app

Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Khem Raj
On Thu, Mar 7, 2019 at 4:39 AM Burton, Ross wrote: > > On Thu, 7 Mar 2019 at 12:34, Richard Purdie > wrote: > > The customer needs to depend on libgcc in their app, or their > > initramfs, we're not adding random dependencies to the initramfs "just > > in case". > > Part of the goal of my ELF

[OE-core] npm offline build for yocto

2019-03-07 Thread Jan Kiszka
Hi Michael, I found your progress report (and unanswered question) on that topic in http://lists.openembedded.org/pipermail/openembedded-core/2018-April/268639.html. Did this effort go further? I just ran into it again while updating https://github.com/siemens/meta-iot2000 to Node.js >v6. I

Re: [OE-core] [PATCH 1/1] systemd: update efi PACKAGECONFIG to depend on coreutils-native

2019-03-07 Thread Burton, Ross
That's quite a hammer, I prefer adding realpath to HOSTTOOLS. (patch sent) Ross On Thu, 7 Mar 2019 at 02:10, Chen Qi wrote: > > For now, if 'efi' is enabled, we get the following error: > > | src/boot/efi/meson.build:63:24: ERROR: Program or command 'realpath' not > found or not executable

Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Zhixiong Chi
It's not for dependency of the package in the initramfs image, just for the multithread application while the customer use initramfs image. Since we use PACKAGE_INSTALL to override the rootfs in the initramfs bb file, so we couldn't use the IMAGE_INSTALL_append to add the package in the

Re: [OE-core] [PATCH] core-image-minimal-initramfs: add libgcc into the initramfs image

2019-03-07 Thread Burton, Ross
Wouldn't it be better to add that dependency to the packages which need it? Ross On Thu, 7 Mar 2019 at 06:53, Zhixiong Chi wrote: > > Add the libgcc package into the initramfs image to avoid multithread > function error in the userspace(eg: pthread_cancel). > > Signed-off-by: Zhixiong Chi >

[OE-core] [PATCH 1/1] metadata.py: return info after fallback methods

2019-03-07 Thread Chen Qi
If python3 git module is not installed, we fall back to some git command to get info. A previous commit (b8d22ed6) accidently deleted the return statement, causing errors like below. Exception: UnboundLocalError: local variable 'InvalidGitRepositoryError' referenced before assignment

[OE-core] [PATCH 0/1] metadata.py: return info after fallback methods

2019-03-07 Thread Chen Qi
*** BLURB HERE *** The following changes since commit 525c5e516323ff584f65bed3320626b1d056260d: README.poky: Add pointers to key contributions wiki guides (2019-03-06 23:12:27 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/return-info

Re: [OE-core] [PATCH] libpcre2: fix CVE-2017-7186

2019-03-07 Thread ChenQi
This patch seems to cause https://autobuilder.yoctoproject.org/typhoon/#/builders/73/builds/370/steps/7/logs/errors Best Regards, Chen Qi On 03/07/2019 06:51 AM, Ross Burton wrote: Signed-off-by: Ross Burton --- .../libpcre/libpcre2/CVE-2017-7186.patch | 83 ++

Re: [OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread Adrian Bunk
On Thu, Mar 07, 2019 at 03:56:33PM +0100, Leon Woestenberg wrote: > On Thu, Mar 7, 2019 at 3:27 PM Adrian Bunk wrote: > > > > From: André Draszik > > > > It looks like there is an implicit dependency on util-linux' > > umount - as otherwise when using busybox' umount we see a > > long delay on

[OE-core] [PATCH] rm_work: sort the value of do_build dependencies

2019-03-07 Thread liu . ming50
From: Ming Liu This fixes some 'basehash changed' errors when rm_work is being inherited. Signed-off-by: Ming Liu --- meta/classes/rm_work.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index

Re: [OE-core] [PATCH 2/6] linux-libc-headers: update to 5.x headers

2019-03-07 Thread Khem Raj
another one I forgot https://errors.yoctoproject.org/Errors/Details/231924/ On Thu, Mar 7, 2019 at 7:19 AM Khem Raj wrote: > > Bruce > > https://errors.yoctoproject.org/Errors/Details/231923/ > > seems to be due to this. seems we need to get this define from > elsewhere have you encountered

Re: [OE-core] [PATCH 2/6] linux-libc-headers: update to 5.x headers

2019-03-07 Thread Khem Raj
Bruce https://errors.yoctoproject.org/Errors/Details/231923/ seems to be due to this. seems we need to get this define from elsewhere have you encountered this? On Wed, Mar 6, 2019 at 8:37 AM wrote: > > From: Bruce Ashfield > > Updating the linux-libc-headers to the 5.x kernel variant to

Re: [OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread André Draszik
On Thu, 2019-03-07 at 17:18 +0200, Adrian Bunk wrote: > On Thu, Mar 07, 2019 at 03:56:33PM +0100, Leon Woestenberg wrote: > > On Thu, Mar 7, 2019 at 3:27 PM Adrian Bunk wrote: > > > From: André Draszik > > > > > > It looks like there is an implicit dependency on util-linux' > > > umount - as

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-07 Thread Bruce Ashfield
On Thu, Mar 7, 2019 at 8:04 AM Richard Purdie wrote: > > On Wed, 2019-03-06 at 23:23 -0500, Bruce Ashfield wrote: > > On Wed, Mar 6, 2019 at 11:21 PM Bruce Ashfield < > > bruce.ashfi...@gmail.com> wrote: > > > On Wed, Mar 6, 2019 at 6:05 PM Richard Purdie > > > wrote: > > > >

[OE-core] [OE-CORE][thud][PATCH] python3_3.5.6.bb: Remove setting of PYTHONHOME

2019-03-07 Thread Jaewon Lee
PYTHONHOME was set in python wrapper to 'ensure that the nativesdk python functions correctly without needing to set PYTHONHOME in the sdk environment setup script' (From OE-Core rev:c5629268b0f8ae0a425c98337d13e8dc83107e13) But thud doesnt use python3 libraries from buildtools like python2 does

[OE-core] [oe-core][PATCH] Revert "systemd: RDEPENDS on util-linux-umount"

2019-03-07 Thread Adrian Bunk
This reverts commit d31259fa464cfc8ae3a1f6209e98153aca101060. busybox umount was already fixed, making this change obsolete. Signed-off-by: Adrian Bunk --- meta/recipes-core/systemd/systemd_241.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] inetutils: Fix build on RISC-V

2019-03-07 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb index a27dbae2e6..453f485d1c 100644 ---

Re: [OE-core] npm offline build for yocto

2019-03-07 Thread Jan Kiszka
On 07.03.19 15:22, Davis, Michael wrote: Unfortunately no. I could never get the cache to prefill correctly with node 8 and haven't tried any of the newer versions. The way they did the sha1/256/512 sums made it impossible to prefill the cache, and the import of tars just didn’t work. I

Re: [OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread Leon Woestenberg
Hi Adrian, On Thu, Mar 7, 2019 at 4:18 PM Adrian Bunk wrote: > > On Thu, Mar 07, 2019 at 03:56:33PM +0100, Leon Woestenberg wrote: > > On Thu, Mar 7, 2019 at 3:27 PM Adrian Bunk wrote: > > > > > > From: André Draszik > > > > > > It looks like there is an implicit dependency on util-linux' > >

Re: [OE-core] [PATCH V2 2/2] go-1.9: Drop the recipes

2019-03-07 Thread Burton, Ross
On Thu, 7 Mar 2019 at 21:43, Khem Raj wrote: > .../0001-make.bash-quote-CC_FOR_TARGET.patch | 32 - > ...d-CXX-environment-variable-construct.patch | 67 --- > ...tter-separate-host-and-target-builds.patch | 92 --- > ...OOLDIR-to-be-overridden-in-the-envir.patch |

[OE-core] [PATCH v2] bitbake: add realpath to HOSTTOOLS

2019-03-07 Thread Ross Burton
If systemd has EFI enabled it needs realpath. Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 5a4c4bbde94..c156587cbaf 100644 --- a/meta/conf/bitbake.conf +++

Re: [OE-core] [PATCH v2 2/4] inetutils: Import version 1.9.4

2019-03-07 Thread Richard Purdie
On Wed, 2019-03-06 at 09:36 -0500, Tom Rini wrote: > In order to have more robust stand-alone network tools in oe-core, > bring > in inetutils from meta-openembedded/meta-networking. This imports > the > recipes as of git commit: > commit 408204073e6bdcd8ac586e05d5b75213417673f2 > Author: Martin

Re: [OE-core] [PATCH 0/6] linux-yocto: consolidated pull request (5.0 kernel intro)

2019-03-07 Thread Richard Purdie
On Thu, 2019-03-07 at 10:48 -0500, Bruce Ashfield wrote: > On Thu, Mar 7, 2019 at 8:04 AM Richard Purdie > wrote: > > On Wed, 2019-03-06 at 23:23 -0500, Bruce Ashfield wrote: > > Thanks for the other fixes, they improve things a lot. This brings > > us > > down to the above perf issue with 4.19

Re: [OE-core] [PATCH] bitbake: add readlink to HOSTTOOLS

2019-03-07 Thread Andre McCurdy
On Wed, Mar 6, 2019 at 8:14 AM Ross Burton wrote: > > If systemd has EFI enabled it uses readlink. > > Signed-off-by: Ross Burton > --- > meta/conf/bitbake.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf > index

[OE-core] [PATCH] icecc: Slightly more verbose log messages in the success case

2019-03-07 Thread Douglas Royds
The path containing the symlinks to icecc itself. The path to the build env tarball. Signed-off-by: Douglas Royds --- meta/classes/icecc.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass index

[OE-core] [PATCH 1/2] go: Add recipes for 1.12 release and make it default

2019-03-07 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/go/go-1.12.inc | 23 ++ ...ow-CC-and-CXX-to-have-multiple-words.patch | 31 ++ ...ent-based-hash-generation-less-pedan.patch | 218 ++

[OE-core] [PATCH 2/2] go-1.9: Drop the recipes

2019-03-07 Thread Khem Raj
We now have 1.11 and 1.12 Signed-off-by: Khem Raj --- .../0001-make.bash-quote-CC_FOR_TARGET.patch | 32 - ...d-CXX-environment-variable-construct.patch | 67 --- ...tter-separate-host-and-target-builds.patch | 92 --- ...OOLDIR-to-be-overridden-in-the-envir.patch |

Re: [OE-core] [PATCH] bitbake: add readlink to HOSTTOOLS

2019-03-07 Thread Burton, Ross
Whoops! v2 incoming. Ross On Thu, 7 Mar 2019 at 18:51, Andre McCurdy wrote: > > On Wed, Mar 6, 2019 at 8:14 AM Ross Burton wrote: > > > > If systemd has EFI enabled it uses readlink. > > > > Signed-off-by: Ross Burton > > --- > > meta/conf/bitbake.conf | 2 +- > > 1 file changed, 1

[OE-core] [PATCH V2 1/2] go: Add recipes for 1.12 release and make it default

2019-03-07 Thread Khem Raj
- Refresh patches - Enable GOCACHE required as of Go 1.12 Signed-off-by: Khem Raj --- v2: Refresh patches to make devtool happy, improve commit msg meta/conf/distro/include/tcmode-default.inc | 2 +- meta/recipes-devtools/go/go-1.12.inc | 23 ++

[OE-core] [PATCH V2 2/2] go-1.9: Drop the recipes

2019-03-07 Thread Khem Raj
We now have 1.11 and 1.12 Signed-off-by: Khem Raj --- v2: Rebased ( no changes ) .../0001-make.bash-quote-CC_FOR_TARGET.patch | 32 - ...d-CXX-environment-variable-construct.patch | 67 --- ...tter-separate-host-and-target-builds.patch | 92 ---

Re: [OE-core] [thud][PATCH] systemd: RDEPENDS on util-linux-umount

2019-03-07 Thread Richard Purdie
On Thu, 2019-03-07 at 15:38 +, André Draszik wrote: > On Thu, 2019-03-07 at 17:18 +0200, Adrian Bunk wrote: > > On Thu, Mar 07, 2019 at 03:56:33PM +0100, Leon Woestenberg wrote: > > > On Thu, Mar 7, 2019 at 3:27 PM Adrian Bunk > > > wrote: > > > > From: André Draszik > > > > > > > > It

Re: [OE-core] [PATCH] inetutils: Fix build on RISC-V

2019-03-07 Thread Tom Rini
On Thu, Mar 07, 2019 at 09:32:15AM -0800, Khem Raj wrote: > Signed-off-by: Khem Raj Reviewed-by: Tom Rini -- Tom -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org

[OE-core] [PATCH v3 1/2] go: Add recipes for 1.12 release and make it default

2019-03-07 Thread Khem Raj
- Refresh patches - Enable GOCACHE required as of Go 1.12 Signed-off-by: Khem Raj --- v2: Refresh patches to make devtool happy, improve commit msg v3: Remove GOCACHE from go.bbclass meta/classes/go.bbclass | 1 - meta/conf/distro/include/tcmode-default.inc | 2 +-

[OE-core] [PATCH v3 2/2] go-1.9: Drop the recipes

2019-03-07 Thread Khem Raj
We now have 1.11 and 1.12 Signed-off-by: Khem Raj --- v2: Rebased ( no changes ) v3: Remove remaining 1.9 recipe files meta/recipes-devtools/go/go-1.9.inc | 27 - .../0001-make.bash-quote-CC_FOR_TARGET.patch | 32 - ...d-CXX-environment-variable-construct.patch | 67

Re: [OE-core] [PATCH v2 2/4] inetutils: Import version 1.9.4

2019-03-07 Thread Tom Rini
On Thu, Mar 07, 2019 at 09:50:51PM +, Richard Purdie wrote: > On Wed, 2019-03-06 at 09:36 -0500, Tom Rini wrote: > > In order to have more robust stand-alone network tools in oe-core, > > bring > > in inetutils from meta-openembedded/meta-networking. This imports > > the > > recipes as of git

Re: [OE-core] [PATCH v2 2/4] inetutils: Import version 1.9.4

2019-03-07 Thread Khem Raj
On 3/7/19 8:20 PM, Tom Rini wrote: On Thu, Mar 07, 2019 at 09:50:51PM +, Richard Purdie wrote: On Wed, 2019-03-06 at 09:36 -0500, Tom Rini wrote: In order to have more robust stand-alone network tools in oe-core, bring in inetutils from meta-openembedded/meta-networking. This imports

[OE-core] [PATCH] puzzles: Fix build with gcc9 on risc-v

2019-03-07 Thread Khem Raj
Signed-off-by: Khem Raj --- ...-string-lenght-parameter-to-be-size_.patch | 33 +++ meta/recipes-sato/puzzles/puzzles_git.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644

[OE-core] [PATCH] perf: synchronize unistd.h between libc-headers and perf source

2019-03-07 Thread bruce . ashfield
From: Bruce Ashfield During the build for some architectures, perf generates a program which executes on the host to dump the syscall table. The generation of that program uses the cross compiler + sysroot to expand unistd.h. As such, we are getting the contents of that file from

Re: [OE-core] [PATCH] perf: synchronize unistd.h between libc-headers and perf source

2019-03-07 Thread Martin Jansa
Why not use STAGING_INCDIR ? On Fri, Mar 8, 2019 at 7:36 AM wrote: > From: Bruce Ashfield > > During the build for some architectures, perf generates a program > which executes on the host to dump the syscall table. > > The generation of that program uses the cross compiler + sysroot > to