Re: [OE-core] fetcher uses wrong SRCREV for class-native

2019-11-13 Thread Andre McCurdy
On Wed, Nov 13, 2019 at 8:23 AM Richard Purdie wrote: > > On Wed, 2019-11-13 at 16:21 +, Richard Purdie wrote: > > On Wed, 2019-11-13 at 06:00 -0800, Andre McCurdy wrote: > > > With the following test recipe, foo.bb: > > > > > > LICENSE = "CLOSED&

[OE-core] fetcher uses wrong SRCREV for class-native

2019-11-13 Thread Andre McCurdy
With the following test recipe, foo.bb: LICENSE = "CLOSED" PV .= "+git${SRCPV}" SRCREV = "015b0cdce1a0abb68ab99510e7fc8d2f77e8ec77" SRCREV_class-native = "fc3e8f717779cabcbe583cac304308eaad5f1648" SRC_URI = "git://github.com/file/file.git;protocol=https" S = "${WORKDIR}/git"

Re: [OE-core] [PATCH 1/2] tune-riscv: Add support for hard and soft float

2019-11-13 Thread Andre McCurdy
On Wed, Nov 6, 2019 at 12:37 PM Alistair Francis wrote: > > Signed-off-by: Alistair Francis > --- > meta/conf/machine/include/riscv/arch-riscv.inc | 3 ++- > meta/conf/machine/include/riscv/tune-riscv.inc | 17 +++-- > 2 files changed, 17 insertions(+), 3 deletions(-) > > diff

Re: [OE-core] [PATCH] pseudo: Drop static linking to sqlite3

2019-11-11 Thread Andre McCurdy
On Sat, Nov 9, 2019 at 8:46 AM Seebs wrote: > > On Sat, 09 Nov 2019 16:30:41 + > Richard Purdie wrote: > > > I did talk briefly to Mark (also cc'd) as he wrote the original patch > > and he thought it was possibly because the client was also linking > > against sqlite3 and due to the other

Re: [OE-core] [PATCH 3/3] systemd: Add runtime dependency on new ldconfig package

2019-11-07 Thread Andre McCurdy
On Thu, Nov 7, 2019 at 12:55 PM Andreas Oberritter wrote: > > Signed-off-by: Andreas Oberritter > --- > meta/recipes-core/systemd/systemd_243.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-core/systemd/systemd_243.bb >

Re: [OE-core] [PATCH] image_types: add Zstandard conversion support

2019-11-05 Thread Andre McCurdy
On Tue, Nov 5, 2019 at 3:13 PM Stefan Agner wrote: > > From: Stefan Agner > > Add Zstandard (or just Zstd) compression support. This allows to > create Zstd compressed tarballs by using tar.zst as IMAGE_FSTYPES. > > Signed-off-by: Stefan Agner > --- > meta/classes/image_types.bbclass | 6

Re: [OE-core] [PATCH 0/2] Bug fixes for makedevs.c

2019-10-28 Thread Andre McCurdy
On Mon, Oct 28, 2019 at 10:15 AM Frazer Leslie Clews wrote: > > fixes a few bugs in some print statements and an overflow bug with usr_buf > > Frazer Leslie Clews (2): > fix format strings in makedevs.c in print statements > fix invalidScanfFormatWidth to prevent overflowing usr_buf Perhaps

Re: [OE-core] [PATCH 1/1] openssl: make OPENSSL_ENGINES match install path

2019-09-25 Thread Andre McCurdy
On Wed, Sep 25, 2019 at 12:13 PM George McCollister wrote: > On Wed, Sep 25, 2019 at 1:37 PM Andre McCurdy wrote: > > > > On Wed, Sep 25, 2019 at 11:13 AM George McCollister > > wrote: > > > On Wed, Sep 25, 2019 at 11:08 AM Mark Hatle > > > wrote: > &g

Re: [OE-core] [PATCH 1/1] openssl: make OPENSSL_ENGINES match install path

2019-09-25 Thread Andre McCurdy
On Wed, Sep 25, 2019 at 11:13 AM George McCollister wrote: > On Wed, Sep 25, 2019 at 11:08 AM Mark Hatle > wrote: > > On 9/25/19 6:52 AM, George McCollister wrote: > > > Set OPENSSL_ENGINES to the path where engines are actually installed. > > > > > > Signed-off-by: George McCollister > > > ---

Re: [OE-core] [warrior][ 25/50] boost: Fix build and enable context and coroutines on aarch64

2019-09-23 Thread Andre McCurdy
On Mon, Sep 23, 2019 at 7:52 PM Armin Kuster wrote: > > From: "Bedel, Alban" > > Like for ARM bjam need some hints about the ABI to properly build on > aarch64. While at it also enable context and coroutine as these are > supported on aarch64. What's the symptom when this is mis-detected ? I'm

Re: [OE-core] [PATCH 4/8] ffmpeg: don't rely on configure to correctly detect ARM vfp or neon

2019-09-16 Thread Andre McCurdy
On Mon, Sep 16, 2019 at 3:34 PM Adrian Bunk wrote: > > On Mon, Sep 16, 2019 at 03:08:01PM -0700, Andre McCurdy wrote: > > On Mon, Sep 16, 2019 at 2:33 PM Christopher Larson > > wrote: > > > > > > This seems like something that could do with a ‘why’ in the c

Re: [OE-core] [PATCH 4/8] ffmpeg: don't rely on configure to correctly detect ARM vfp or neon

2019-09-16 Thread Andre McCurdy
92ebd640a > On Sep 16, 2019, 12:25 PM -0700, Andre McCurdy , wrote: > > Signed-off-by: Andre McCurdy > --- > meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.

[OE-core] [PATCH 8/8] libunwind: apply configure over-ride to both big and little endian ARM

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-support/libunwind/libunwind.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/libunwind/libunwind.inc b/meta/recipes-support/libunwind/libunwind.inc index 5726589661..76a1bf6246 100644 --- a/meta/recipes-support/libunwind

[OE-core] [PATCH 4/8] ffmpeg: don't rely on configure to correctly detect ARM vfp or neon

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb index 307e37e3fe..c4261248b6 100644

[OE-core] [PATCH 2/8] busybox: rcS and rcK should not be writeable by everyone

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-core/busybox/busybox.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc index 49165d7f51..4c3969501a 100644 --- a/meta/recipes-core/busybox

[OE-core] [PATCH 1/8] base-files: drop legacy empty file /etc/default/usbd

2019-09-16 Thread Andre McCurdy
Doesn't seem to be referenced by anything in oe-core any more. Signed-off-by: Andre McCurdy --- meta/recipes-core/base-files/base-files/usbd | 0 meta/recipes-core/base-files/base-files_3.0.14.bb | 2 -- 2 files changed, 2 deletions(-) delete mode 100644 meta/recipes-core/base-files/base

[OE-core] [PATCH 6/8] libwebp: apply ARM specific config options to big endian ARM

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-multimedia/webp/libwebp_1.0.3.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/webp/libwebp_1.0.3.bb b/meta/recipes-multimedia/webp/libwebp_1.0.3.bb index 01fc02d23b..a4d1ae43d9 100644 --- a/meta

[OE-core] [PATCH 3/8] ffmpeg: add PACKAGECONFIG controls for alsa and zlib (enable by default)

2019-09-16 Thread Andre McCurdy
Also move the libogg dependency to the theora PACKAGECONFIG, since according to the configure script, theora is the specific component which requires it. Signed-off-by: Andre McCurdy --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions

[OE-core] [PATCH 7/8] initscripts: enable alignment.sh init script for big endian ARM

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- .../initscripts/initscripts-1.0/{arm => }/alignment.sh | 0 meta/recipes-core/initscripts/initscripts_1.0.bb | 1 + 2 files changed, 1 insertion(+) rename meta/recipes-core/initscripts/initscripts-1.0/{arm => }/alignment.sh

[OE-core] [PATCH 5/8] ffmpeg: enable more verbose build logs

2019-09-16 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.2.bb index c4261248b6..2809f343b8 100644 --- a/meta/recipes-multimedia

[OE-core] [PATCH 2/3] busybox: drop inittab from SRC_URI ( now moved to busybox-inittab )

2019-09-12 Thread Andre McCurdy
The reference to inittab should have been removed from busybox SRC_URI when the file was moved into the busybox-inittab recipe: http://git.openembedded.org/openembedded-core/commit/?id=afb09abd2f0f7555ba156260a87fd3867f591310 Signed-off-by: Andre McCurdy --- meta/recipes-core/busybox

[OE-core] [PATCH 3/3] busybox-inittab: minor formatting tweaks

2019-09-12 Thread Andre McCurdy
Add an empty line to inittab before the line(s) which start getty. Also cleanup indent in recipe do_install(). Signed-off-by: Andre McCurdy --- .../busybox/busybox-inittab_1.31.0.bb | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/meta/recipes

[OE-core] [PATCH 1/3] busybox: drop unused mount.busybox and umount.busybox wrappers

2019-09-12 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-core/busybox/busybox_1.31.0.bb| 2 -- meta/recipes-core/busybox/files/mount.busybox | 3 --- meta/recipes-core/busybox/files/umount.busybox | 3 --- 3 files changed, 8 deletions(-) delete mode 100755 meta/recipes-core/busybox/files

Re: [OE-core] make-mod-scripts question

2019-09-09 Thread Andre McCurdy
On Mon, Sep 9, 2019 at 2:01 PM Nicolas Dechesne wrote: > On Mon, Sep 9, 2019 at 10:58 PM Andre McCurdy wrote: > > > > On Mon, Sep 9, 2019 at 1:25 PM Nicolas Dechesne > > wrote: > > > > > > If this reasoning is correct that means that kernel signing + exter

Re: [OE-core] make-mod-scripts question

2019-09-09 Thread Andre McCurdy
On Mon, Sep 9, 2019 at 1:25 PM Nicolas Dechesne wrote: > > If this reasoning is correct that means that kernel signing + external > module is broken. Note that I am working out of Thud for now, i am > sending this email for now to get some feedback, and will try to > reproduce without all our

Re: [OE-core] [PATCH 05/13] feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX

2019-09-04 Thread Andre McCurdy
On Fri, Aug 23, 2019 at 1:52 PM Andre McCurdy wrote: > > Since TUNE_FEATURES now either contains a CPU or an architecture (but > not both) we can't rely on finding the architecture in TUNE_FEATURES. > Use architecture specific over-rides instead. This fix hasn't been merged. We

Re: [OE-core] FETCHCMD drop breaks build when append is used (from patch b259bd31eb)

2019-08-31 Thread Andre McCurdy
On Sat, Aug 31, 2019 at 1:24 PM Andre McCurdy wrote: > > On Sat, Aug 31, 2019 at 11:07 AM Andrey Zhizhikin wrote: > > On Sat, Aug 31, 2019 at 2:18 PM Adrian Bunk wrote: > > > Disallowing appends could cause huge problems for a user or layer that > > > has to ap

Re: [OE-core] FETCHCMD drop breaks build when append is used (from patch b259bd31eb)

2019-08-31 Thread Andre McCurdy
On Sat, Aug 31, 2019 at 11:07 AM Andrey Zhizhikin wrote: > On Sat, Aug 31, 2019 at 2:18 PM Adrian Bunk wrote: > > Disallowing appends could cause huge problems for a user or layer that > > has to append local options (e.g. proxy) building a recipe like libedit > > that has to change the

Re: [OE-core] FETCHCMD drop breaks build when append is used (from patch b259bd31eb)

2019-08-30 Thread Andre McCurdy
On Fri, Aug 30, 2019 at 3:08 AM Andrey Zhizhikin wrote: > > Hello Andre, > > I've just pulled the master and experienced a build failure during > fetching of updated recipe's source tarballs. > > The reason for this being that defaults for FETCHCMD has been dropped > with your patch b259bd31eb

Re: [OE-core] [PATCH] common-licenses: update BSD-2-CLAUSE license text

2019-08-28 Thread Andre McCurdy
On Wed, Aug 28, 2019 at 3:05 AM Christophe PRIOUZEAU wrote: > > Using the generic BSD-2-CLAUSE license as specified on > https://opensource.org/licenses/BSD-2-Clause Fixing these kind of issues has been discussed before. I think the consensus was that a wider ranging cleanup is needed. The

Re: [OE-core] [PATCH] insane: improve license checksumming logic

2019-08-27 Thread Andre McCurdy
On Thu, Mar 21, 2019 at 5:30 AM Ross Burton wrote: > > Instead of opening files as bytes and battling decoding to UTF-8 which can > throw > exceptions, open directly as strings and replace invalid codepoints. This > handles licenses in encodings which are not UTF-8 but are based on ASCII much >

[OE-core] [PATCH 12/13] sqlite3: make CFLAGS consistent across native, nativesdk and target cases

2019-08-23 Thread Andre McCurdy
+= are lost. Use _append instead. Signed-off-by: Andre McCurdy --- meta/recipes-support/sqlite/sqlite3.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index 7cf23d0..044af5e 100644 --- a/meta

[OE-core] [PATCH 13/13] sqlite3: explicitly set target endian-ness

2019-08-23 Thread Andre McCurdy
Unless SQLITE_BYTEORDER is predefined, the code falls back to build time huristics - which are not always correct (e.g. in sqlite 3.28.0 big-endian ARM is mis-detected). Signed-off-by: Andre McCurdy --- meta/recipes-support/sqlite/sqlite3.inc | 6 +- 1 file changed, 5 insertions(+), 1

[OE-core] [PATCH 08/13] base-files: nsswitch.conf is glibc specific

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-core/base-files/base-files_3.0.14.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb index 4b4027f..2b1f217 100644

[OE-core] [PATCH 11/13] dropbear: don't create invalid symlinks if ssh, scp, etc are disabled

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/recipes-core/dropbear/dropbear.inc | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index dcbda74..7269888 100644 --- a/meta/recipes-core

[OE-core] [PATCH 10/13] update-rc.d.bbclass: support VIRTUAL-RUNTIME_init_manager == busybox

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/classes/update-rc.d.bbclass | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 1366fee..bf86bfa 100644 --- a/meta/classes/update-rc.d.bbclass +++ b

[OE-core] [PATCH 09/13] glibc: drop obsolete packaging of glibc libnsl libs

2019-08-23 Thread Andre McCurdy
Packaging rules were left behind when libnsl was removed: https://git.openembedded.org/openembedded-core/commit/?id=9dc9983901cec364ea57a72b9da1a0396b60663a Signed-off-by: Andre McCurdy --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH 07/13] rootfs-postcommands.bbclass: add inittab tweak to read_only_rootfs_hook()

2019-08-23 Thread Andre McCurdy
It's not clear that we actually need to call mount -o remount,XX from the busybox-inittab inittab at all, but as we currently do, let's respect read-only-rootfs in IMAGE_FEATURES and not remount / as rw. Signed-off-by: Andre McCurdy --- meta/classes/rootfs-postcommands.bbclass | 5 + 1 file

[OE-core] [PATCH 05/13] feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX

2019-08-23 Thread Andre McCurdy
Since TUNE_FEATURES now either contains a CPU or an architecture (but not both) we can't rely on finding the architecture in TUNE_FEATURES. Use architecture specific over-rides instead. Signed-off-by: Andre McCurdy --- meta/conf/machine/include/arm/feature-arm-thumb.inc | 7 +-- 1 file

[OE-core] [PATCH 06/13] packagegroup-core-boot: drop duplicate MACHINE_ESSENTIAL_EXTRA_RDEPENDS, etc

2019-08-23 Thread Andre McCurdy
Default values for MACHINE_ESSENTIAL_EXTRA_RDEPENDS and MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS are set from bitbake.conf and so don't need to be duplicated in the packagegroup-core-boot recipe. Signed-off-by: Andre McCurdy --- meta/recipes-core/packagegroups/packagegroup-core-boot.bb | 6 -- 1

[OE-core] [PATCH 04/13] tune-ep9312.inc: fix TUNEVALID description

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/conf/machine/include/tune-ep9312.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc index 4d92821..be20eb3 100644 --- a/meta/conf/machine/include/tune

[OE-core] [PATCH 03/13] tune-arm1176jz-s.inc: add support for arm1176jz-s CPU specific tuning

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/conf/machine/include/tune-arm1176jz-s.inc | 17 + 1 file changed, 17 insertions(+) create mode 100644 meta/conf/machine/include/tune-arm1176jz-s.inc diff --git a/meta/conf/machine/include/tune-arm1176jz-s.inc b/meta/conf/machine/include

[OE-core] [PATCH 01/13] bitbake.conf: drop FETCHCMD, GITDIR, etc fetcher over-rides

2019-08-23 Thread Andre McCurdy
This completes cleanup originally proposed in 2012: http://lists.openembedded.org/pipermail/openembedded-core/2012-July/064224.html Current versions of bitbake have "sane" default fetcher commands so it's no longer necessary for bitbake.conf to over-ride them. Signed-off-by: And

[OE-core] [PATCH 02/13] tune-arm1136jf-s.inc: add hardfloat support

2019-08-23 Thread Andre McCurdy
Signed-off-by: Andre McCurdy --- meta/conf/machine/include/tune-arm1136jf-s.inc | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/conf/machine/include/tune-arm1136jf-s.inc b/meta/conf/machine/include/tune-arm1136jf-s.inc index d883eba..b25995d 100644 --- a/meta/conf

Re: [OE-core] Automatic prebuilt management

2019-08-23 Thread Andre McCurdy
On Mon, Aug 5, 2019 at 9:06 AM Loic Poulain wrote: > Say a company works with an OE internal tree, with open-source and > closed-source packages. The company wants to release the tree so that its > customers can fully customize the images/distro. The closed sources being > only available

Re: [OE-core] [PATCH 2/2] quilt: added less to RDEPENDS list

2019-08-21 Thread Andre McCurdy
On Wed, Aug 21, 2019 at 7:43 PM Randy MacLeod wrote: > > Re: [OE-core] [PATCH 2/2] quilt: added less to RDEPENDS list > > s/added/add/ > > When in Rome: > $ cd .../oe-core > $ git log --oneline -1 | grep -i add | wc -l > 1376 > > $ git log --oneline -1 | grep -i added | wc -l > 19 > > On

Re: [OE-core] [PATCH V2] systemd: add menson option to decrease RLIMIT_NOFILE on qemu bsp

2019-08-19 Thread Andre McCurdy
On Mon, Aug 19, 2019 at 9:38 AM Hongxu Jia wrote: > > Since do_testimage for core-image-sato-sdk has memory limitation (256Mib) > which caused rpc.statd failed with out of memory. > [ 531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or > sacrifice child > > The rpc.statd

Re: [OE-core] [warrior][PATCH] bitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL

2019-08-16 Thread Andre McCurdy
On Thu, Aug 15, 2019 at 8:45 PM akuster808 wrote: > On 8/15/19 2:31 PM, Andre McCurdy wrote: > > On Thu, Aug 15, 2019 at 2:09 PM Richard Purdie > > wrote: > >> On Thu, 2019-08-15 at 09:23 +0200, Martin Jansa wrote: > >>> NAK > >>> > >>&

Re: [OE-core] [warrior][PATCH] bitbake.conf: add git-lfs to HOSTTOOLS_NONFATAL

2019-08-15 Thread Andre McCurdy
On Thu, Aug 15, 2019 at 2:09 PM Richard Purdie wrote: > On Thu, 2019-08-15 at 09:23 +0200, Martin Jansa wrote: > > NAK > > > > Yes, the first part was merged in warrior and is correct. > > > > But this second part isn't good (you don't want git-lfs to sometimes > > work and sometimes fail) and

Re: [OE-core] [PATCH 3/5] gdb: Alias rpl_stat to stat() on musl

2019-08-12 Thread Andre McCurdy
On Mon, Aug 12, 2019 at 11:55 AM Khem Raj wrote: > > On 8/12/19 11:12 AM, Andre McCurdy wrote: > > On Mon, Aug 20, 2018 at 12:00 PM Khem Raj wrote: > >> > >> Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for > >> somefiles > >

Re: [OE-core] [PATCH 3/5] gdb: Alias rpl_stat to stat() on musl

2019-08-12 Thread Andre McCurdy
On Mon, Aug 20, 2018 at 12:00 PM Khem Raj wrote: > > Use CPPFLAGS instead of CFLAGS since there is C++ compiler being used for > somefiles > > Fixes > gdb/gdbserver/../../../gdb-8.1.1/gdb/gdbserver/../common/common-utils.c:419: > undefined reference to `rpl_stat' > | collect2: error: ld

Re: [OE-core] Automatically creating tar files for bin_package.bbclass

2019-07-21 Thread Andre McCurdy
On Fri, Jul 19, 2019 at 1:09 AM Nicolas Dechesne wrote: > > hi Andre! Hi Nico! :-) > has anything more been done on that topic? I happen to now need > something similar. E.g. packaging for proprietary content, and google > led me to this discussion. What's the recommended approach nowadays to

Re: [OE-core] [PATCH] bitbake.conf: Stop exporting TARGET_ flags variables

2019-07-01 Thread Andre McCurdy
On Sun, Jun 30, 2019 at 3:00 PM Richard Purdie wrote: > > On Tue, 2019-06-25 at 14:16 +0100, Mike Crowe wrote: > > Way back in > > http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html > > a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be > >

Re: [OE-core] [PATCH] glibc: Fix locale DEPENDS

2019-06-27 Thread Andre McCurdy
On Thu, Jun 27, 2019 at 6:54 AM Joshua Watt wrote: > > gettext is required to generate the glibc locales in do_compile. If not > present, glibc will skip the generation which isn't reproducible. I guess you mean not deterministic rather than not reproducible? > Signed-off-by: Joshua Watt > ---

Re: [OE-core] [PATCH] wic/plugins: kernel image refer to KERNEL_IMAGETYPE

2019-06-11 Thread Andre McCurdy
On Mon, Jun 10, 2019 at 11:31 PM wrote: > From: Chee Yang Lee > > replaced hardcoded kernel image with KERNEL_IMAGETYPE. > set kernel image to "bzImage" incase KERNEL_IMAGETYPE not set. A default value for KERNEL_IMAGETYPE is set by default-distrovars.inc, so if it's not set here then something

Re: [OE-core] [PATCH V2] ca-certificates: Fix openssl runtime dependency

2019-05-29 Thread Andre McCurdy
On Wed, May 29, 2019 at 11:46 AM Richard Purdie wrote: > > On Wed, 2019-05-29 at 15:41 +0100, Andrei Gherzan wrote: > > Signed-off-by: Andrei Gherzan > > --- > > .../ca-certificates/ca-certificates_20190110.bb | 4 > > +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > >

Re: [OE-core] Should systemd be marked as incompatible with musl?

2019-05-29 Thread Andre McCurdy
On Wed, May 29, 2019 at 12:31 AM Adrian Bunk wrote: > On Tue, May 28, 2019 at 04:10:45PM -0700, Andre McCurdy wrote: > > On Sat, May 25, 2019 at 12:25 AM Adrian Bunk wrote: > >... > > > Supporting musl is a real pain across the board, > > > with new issues all t

Re: [OE-core] Should systemd be marked as incompatible with musl?

2019-05-28 Thread Andre McCurdy
On Sat, May 25, 2019 at 12:25 AM Adrian Bunk wrote: > > Is there development capacity to support musl? It would be shame if there wasn't enough developer capacity to support musl but in the end it comes down to what contributors to OE want to work on. There's a danger that the areas which OE

Re: [OE-core] [PATCH] cmake: Use compiler launcher variable when ccache is enabled

2019-05-28 Thread Andre McCurdy
On Tue, May 28, 2019 at 12:13 PM Philippe Normand wrote: > > Setting the CMAKE_C{,XX}_COMPILER_LAUNCHER variables is the recomended way to > deal with ccache in CMake. It allows build scripts to optionally opt-out of > CMake, which is especially useful when the pre-processed GCC output is >

Re: [OE-core] Should systemd be marked as incompatible with musl?

2019-05-24 Thread Andre McCurdy
On Fri, May 24, 2019 at 1:28 PM Adrian Bunk wrote: > On Fri, May 24, 2019 at 12:34:23PM -0700, Andre McCurdy wrote: > > On Fri, May 24, 2019 at 11:46 AM Adrian Bunk wrote: > > > On Fri, May 24, 2019 at 11:04:50AM -0700, Khem Raj wrote: > >... > > > > I

Re: [OE-core] Should systemd be marked as incompatible with musl?

2019-05-24 Thread Andre McCurdy
On Fri, May 24, 2019 at 11:46 AM Adrian Bunk wrote: > > On Fri, May 24, 2019 at 11:04:50AM -0700, Khem Raj wrote: > > On Fri, May 24, 2019 at 10:59 AM Adrian Bunk wrote: > > > > > > On Fri, May 24, 2019 at 10:31:25AM -0700, Khem Raj wrote: > > > > On Fri, May 24, 2019 at 10:27 AM Adrian Bunk

Re: [OE-core] [PATCH] squashfs-tools: Mark as incompatible with musl

2019-05-22 Thread Andre McCurdy
On Wed, May 22, 2019 at 6:35 PM Khem Raj wrote: > On Wed, May 22, 2019 at 1:30 AM Adrian Bunk wrote: > > > > Silently ignoring FNM_EXTMATCH makes fnmatch() > > behave different from what callers expect. > > > > Mark as incompatible with musl instead of risking > > broken runtime behaviour. > > >

Re: [OE-core] [PATCH 2/2] apr/apr-util: Add ptest dependency on libgcc

2019-05-20 Thread Andre McCurdy
On Mon, May 20, 2019 at 11:43 AM Khem Raj wrote: > On 5/16/19 4:49 AM, Richard Purdie wrote: > > Avoid: > > > > libgcc_s.so.1 must be installed for pthread_cancel to work > > > > when running the ptest without libgcc. > > this is interesting, do we get this error explicitly from running some >

Re: [OE-core] [PATCH] glib-networking: add PACKAGECONFIG for openssl

2019-05-10 Thread Andre McCurdy
On Fri, May 10, 2019 at 3:16 PM Khem Raj wrote: > > On 5/10/19 3:13 PM, akuster808 wrote: > > should we change the default to openssl ? > > I dont think so. Since newer versions of gnuTLS works okay. Isn't one of the goals for OE 2.8 to replace dependencies on [L]GPLv3 components with

Re: [OE-core] [PATCH v2] musl: fix build failure when ld-is-gold is in DISTRO_FEATURES

2019-05-01 Thread Andre McCurdy
On Wed, May 1, 2019 at 8:28 AM Burton, Ross wrote: > > Can you send this using git-send-email so that your mailer doesn't > corrupt the patch? Even better would be to submit upstream to musl. Give or take some formatting tweaks (e.g. perhaps the .s file should be renamed to .S if it's going to

Re: [OE-core] [RFT][PATCH] gcc-9.0: Add recipes for upcoming gcc 9.0 release in mid-2019

2019-04-30 Thread Andre McCurdy
On Tue, Apr 30, 2019 at 12:24 PM Khem Raj wrote: > > Its already in RC phase now. It looks like 9.1 final is due on Friday: https://gcc.gnu.org/ml/gcc/2019-04/msg00288.html > Signed-off-by: Khem Raj > --- > meta/recipes-devtools/gcc/gcc-9.0.inc | 120 ... --

Re: [OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Andre McCurdy
On Fri, Apr 12, 2019 at 2:09 PM Adrian Bunk wrote: > > It is consistent with other compressors also using their > best compression. > > xz is currently the option that offers best compression, > using settings even lower than the default is surprising > and makes it harder to choose the best

Re: [OE-core] [PATCH 0/6] Correct and improve the ARM tunings

2019-04-03 Thread Andre McCurdy
On Wed, Apr 3, 2019 at 1:24 PM Adrian Bunk wrote: > On Wed, Apr 03, 2019 at 12:29:29PM -0700, Andre McCurdy wrote: > > On Tue, Apr 2, 2019 at 11:23 PM Adrian Bunk wrote: > > > On Tue, Apr 02, 2019 at 09:26:46PM +0100, Richard Purdie wrote: > > > >... > > >

Re: [OE-core] [PATCH 0/6] Correct and improve the ARM tunings

2019-04-03 Thread Andre McCurdy
On Tue, Apr 2, 2019 at 11:23 PM Adrian Bunk wrote: > On Tue, Apr 02, 2019 at 09:26:46PM +0100, Richard Purdie wrote: > >... > > "armv4t" is defined in the arm tune files to mean "add -march=armv4t" > > which is the convention used throughout all the tune files. > >... > > Unfortunately this is

Re: [OE-core] [PATCH] glib: set glib-specific cross properties

2019-03-26 Thread Andre McCurdy
On Tue, Mar 26, 2019 at 11:08 AM Khem Raj wrote: > On Tue, Mar 26, 2019 at 5:02 AM Ross Burton wrote: > > > > GLib wants to execute code to identify several properties of the system, for > > example is vsprintf() broken and what direction does the stack grow. In > > cross-compiled environments

Re: [OE-core] [PATCH] rootfs-postcommands.bbclass: break up read_only_rootfs_hook

2019-03-26 Thread Andre McCurdy
On Tue, Mar 26, 2019 at 9:44 AM Nick Rosbrook wrote: > > The function read_only_rootfs_hook makes changes to ssh, dropbear, > fstab, and sysvinit configurations. Replace this function with > four new functions for each component so that they can be removed > from postprocess independently of each

Re: [OE-core] [PATCH v4 1/2] openssl: Remove the c_rehash shell re-implementation

2019-03-19 Thread Andre McCurdy
On Tue, Mar 19, 2019 at 11:11 AM Otavio Salvador wrote: > > On Tue, Mar 19, 2019 at 2:38 PM Andre McCurdy wrote: > > > > On Tue, Mar 19, 2019 at 6:57 AM Otavio Salvador > > wrote: > > > > > > We had a c_rehash shell re-implementation being used f

Re: [OE-core] [PATCH v4 1/2] openssl: Remove the c_rehash shell re-implementation

2019-03-19 Thread Andre McCurdy
On Tue, Mar 19, 2019 at 6:57 AM Otavio Salvador wrote: > > We had a c_rehash shell re-implementation being used for the native > package however the ca-certificates now uses the openssl rehash > internal application so there is no use for the c_rehash anymore. > > Signed-off-by: Otavio Salvador

Re: [OE-core] [PATCH v2] openssl: Use the c_rehash shell re-implementation for target

2019-03-18 Thread Andre McCurdy
On Mon, Mar 18, 2019 at 4:35 PM Richard Purdie wrote: > > I went to have a look at how this upstream C utility was going and > found that they've moved to github issues and there is no such issue > open. It's already been implemented and is present in openssl 1.1.0:

Re: [OE-core] [v2][PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for valid cortexa* targets

2019-03-15 Thread Andre McCurdy
On Fri, Mar 15, 2019 at 8:44 AM Mark Asselstine wrote: > > On Friday, March 15, 2019 9:28:16 AM EDT Mark Asselstine wrote: > > On Thursday, March 14, 2019 7:44:36 PM EDT Andre McCurdy wrote: > > > On Thu, Mar 14, 2019 at 1:05 PM Mark Asselstine > > > > > >

Re: [OE-core] [v2][PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for valid cortexa* targets

2019-03-14 Thread Andre McCurdy
On Thu, Mar 14, 2019 at 1:05 PM Mark Asselstine wrote: > > Per https://github.com/golang/go/wiki/GoArm we need to set GOARM when > building for ARMv5, ARMv6 and ARMv7. The current code in go_map_arm() > does not account for the Cortex* TUNINGs and as such misses several > Cortex variants which

Re: [OE-core] [PATCH 2/2] goarch.bbclass: set TARGET_GOARM as '7' for cortexa7

2019-03-13 Thread Andre McCurdy
On Wed, Mar 13, 2019 at 10:57 AM Mark Asselstine wrote: > > The cortexa7 tunings use 'cortexa7' in their tunings and do not > include 'arm7' so we need to look for both when setting TARGET_GOARM. Is cortexa7 a special case? Or will the same issue be there for cortexa5, cortexa9, cortexa15, etc?

Re: [OE-core] [PATCH] virglrenderer: requires distro feature opengl

2019-03-12 Thread Andre McCurdy
On Tue, Mar 12, 2019 at 3:34 AM Burton, Ross wrote: > On Tue, 12 Mar 2019 at 01:23, wrote: > > +REQUIRED_DISTRO_FEATURES = "opengl" > > +REQUIRED_DISTRO_FEATURES_class-native = "" > > +REQUIRED_DISTRO_FEATURES_class-nativesdk = "" > > I suspect you can drop the native/nativesdk overrides here,

Re: [OE-core] [PATCH] cpulimit: introduce support for this package

2019-03-08 Thread Andre McCurdy
On Fri, Mar 8, 2019 at 3:24 PM BOUBAKER Bassem via Openembedded-core wrote: > > * Now, cpulimit recipe is put under recipes-support. Binary will be > installed by the recipe under /usr/sbin > > # cpulimit -h > Usage: cpulimit [OPTIONS...] TARGET > OPTIONS >

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

Re: [OE-core] [PATCH 1/2] insane.bbclass: Make INSANE_SKIP work for qa pkgconfig and la

2019-03-06 Thread Andre McCurdy
On Wed, Mar 6, 2019 at 7:22 PM Robert Yang wrote: > > The INSANE_SKIP = "pkgconfig" or "la" didn't work, this patch fixes the > problem. > > [YOCTO #13087] > > Signed-off-by: Robert Yang > --- > meta/classes/insane.bbclass | 20 +++- > 1 file changed, 15 insertions(+), 5

Re: [OE-core] [PATCH 2/2] glibc: Disable Werror when building with debug options

2019-02-27 Thread Andre McCurdy
On Wed, Feb 27, 2019 at 4:31 PM Khem Raj wrote: > > On Wed, Feb 27, 2019 at 2:32 PM Martin Jansa wrote: > > > > On Wed, Feb 27, 2019 at 02:01:06PM -0800, Andre McCurdy wrote: > > > On Wed, Feb 27, 2019 at 12:51 PM Khem Raj wrote: > > > > > > &g

Re: [OE-core] [PATCH 2/2] glibc: Disable Werror when building with debug options

2019-02-27 Thread Andre McCurdy
On Wed, Feb 27, 2019 at 12:51 PM Khem Raj wrote: > > Since compiler does not optimize away a lot of stuff we end up with > Werrors e.g. > > ./sysdeps/ieee754/flt-32/s_log1pf.c: In function '__log1pf': > ../sysdeps/ieee754/flt-32/s_log1pf.c:114:22: error: 'c' may be used > uninitialized in this

Re: [OE-core] [PATCH] devtool: deploy-target: support "unsafe" symlinks

2019-02-26 Thread Andre McCurdy
On Tue, Feb 26, 2019 at 1:40 AM Olaf Mandel wrote: > > The bosybox version of tar considers symlink targets that start with / > or with ../ to be unsafe and refuses to unpack them unless the > EXTRACT_UNSAFE_SYMLINKS environment variable is set to 1. > > As even many core packages legitimately

Re: [OE-core] [PATCH] default-distrovars: Drop DISTRO_FEATURES_LIBC

2019-02-25 Thread Andre McCurdy
On Mon, Feb 25, 2019 at 11:00 AM Khem Raj wrote: > > After eglibc was merged into glibc, Kconfig support was also dropped so > these libc features therefore are not effective anymore and can be > removed > > Signed-off-by: Khem Raj > --- > meta/conf/distro/include/default-distrovars.inc | 10

Re: [OE-core] wic creates ext4 images that read really slow in u-boot

2019-02-19 Thread Andre McCurdy
On Tue, Feb 19, 2019 at 9:13 AM Leon Woestenberg wrote: > Hello Mike, > > sounds familiar. > > On Tue, 19 Feb 2019 at 17:55, Mike Looijmans > wrote: > >> Took me a while to figure out why my board took 90 seconds to boot >> suddenly. >> >> The issue turned out to be the ext4 partition created

Re: [OE-core] [PATCH v3] sysvinit-inittab: support non-busybox-getty on serial consoles

2019-02-11 Thread Andre McCurdy
On Mon, Feb 11, 2019 at 3:21 AM André Draszik wrote: > From: André Draszik > Busybox' getty has code to try to make itself a session leader, > whereas util-linux' agetty doesn't. It expects this to happen > from outside. > When getty is not a session leader, many things don't work on > the

Re: [OE-core] [PATCH] image_types.bbclass: Set 70% RAM memory usage limit for xz

2019-02-08 Thread Andre McCurdy
On Fri, Feb 8, 2019 at 5:29 PM Khem Raj wrote: > > when building with opkg backend and huge packages e.g. chromium/llvm all > going in parallel, memory pressure causes xz to catapult with > > do_package_write_ipk: Failed to create package, opkg-build failed with: xz: > (stdin): Cannot allocate

Re: [OE-core] [PATCH V3 1/2] multilib_header_wrapper.h: Use #pragma once

2019-02-06 Thread Andre McCurdy
On Wed, Feb 6, 2019 at 1:49 PM Alex Kiernan wrote: > > On Wed, Feb 6, 2019 at 9:23 PM Khem Raj wrote: > > > > On Wed, Feb 6, 2019 at 12:58 PM Alex Kiernan wrote: > > > > > > On Wed, Feb 6, 2019 at 8:50 PM Khem Raj wrote: > > > > > > > > On Wed, Feb 6, 2019 at 12:41 PM Alex Kiernan > > > >

Re: [OE-core] [PATCH] busybox: add devmem

2019-01-30 Thread Andre McCurdy
On Wed, Jan 30, 2019 at 8:50 AM Khem Raj wrote: > On Wed, Jan 30, 2019 at 1:34 AM Adrian Bunk wrote: > > > > This is a tiny but pretty useful tool. > > question is, do we need this enabled in default config, or could be add it via > some DISTRO_FEATURE meant for validation etc. May be if you

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Andre McCurdy
On Wed, Jan 23, 2019 at 2:50 PM Khem Raj wrote: > > On Wed, Jan 23, 2019 at 5:27 PM Andre McCurdy wrote: > > > > On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > > > > > tune files which inherit the arch definitions already define appropriate > > &g

Re: [OE-core] [PATCH] arch-arm: Do not add -march options for arm architecture

2019-01-23 Thread Andre McCurdy
On Wed, Jan 23, 2019 at 12:05 PM Khem Raj wrote: > > tune files which inherit the arch definitions already define appropriate > -mcpu option, which is equivalent of right -march and -mtune combination And what about machines which inherit an arch definition instead of a cpu definition? Is that

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

2018-12-17 Thread Andre McCurdy
On Mon, Dec 17, 2018 at 6:44 AM wrote: > > On Sat, 2018-12-15 at 20:19 -0500, Jason Andryuk wrote: > > As far as I can tell, pysh is working properly - it's just the > > bb_codeparser.dat which is returning the incorrect shellCacheLine > > entry. It seems like I have an md5 collision between a

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 >

Re: [OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-06 Thread Andre McCurdy
On Tue, Nov 6, 2018 at 12:23 AM Matthias Schiffer wrote: > > On Mon, 2018-11-05 at 09:36 +0100, Matthias Schiffer wrote: > > On Fri, 2018-11-02 at 20:28 -0700, Andre McCurdy wrote: > > > On Fri, Nov 2, 2018 at 8:43 AM Richard Purdie > > > wrote: > > > >

Re: [OE-core] [PATCH] base.bbclass: avoid 'find -ignore_readdir_race -delete'

2018-11-02 Thread Andre McCurdy
On Fri, Nov 2, 2018 at 8:43 AM Richard Purdie wrote: > > On Fri, 2018-11-02 at 15:19 +, Peter Kjellerstedt wrote: > > > -Original Message- > > > From: openembedded-core-boun...@lists.openembedded.org > > > > > core-boun...@lists.openembedded.org> On Behalf Of > > >

Re: [OE-core] [PATCH 03/13] gnutls: update to 2.6.4

2018-11-01 Thread Andre McCurdy
On Tue, Oct 23, 2018 at 12:42 AM akuster808 wrote: > On 10/22/18 9:06 PM, Andre McCurdy wrote: > > On Mon, Oct 22, 2018 at 7:05 AM, Armin Kuster wrote: > >> Notable change: > >> > >> libgnutls: Added the final (RFC8446) version numbering of the TLS1.3

Re: [OE-core] [pyro][PATCH] openssl: Update from 1.0.2n to 1.0.2p

2018-11-01 Thread Andre McCurdy
On Wed, Oct 31, 2018 at 10:39 PM Robert Joslyn wrote: > On Wed, 2018-10-31 at 20:31 -0700, Andre McCurdy wrote: > > On Wed, Oct 31, 2018 at 7:54 PM Robert Joslyn > > wrote: > > > > > > Refresh parallel.patch. > > > > > > Remove duplicate LIC_

Re: [OE-core] [pyro][PATCH] openssl: Update from 1.0.2n to 1.0.2p

2018-10-31 Thread Andre McCurdy
On Wed, Oct 31, 2018 at 7:54 PM Robert Joslyn wrote: > > Refresh parallel.patch. > > Remove duplicate LIC_FILES_CHKSUM assignment. > > License-Update: Updated copyright years Normally a backport to pyro would be merged to sumo and rocko first, so this would be done in steps: 1) Backport the

Re: [OE-core] [PATCH v3][master-next] kernel: use olddefconfig as the primary target for KERNEL_CONFIG_COMMAND

2018-10-30 Thread Andre McCurdy
ontinue to configure. > > Signed-off-by: Bruce Ashfield > --- > > v3: dropped 'yes' from the pipeline > > v2: Tweaked to add a fallback mode as suggested by Andre McCurdy > > Not for the release, just wanted to get this in the queue for > when master reopens so we'll

  1   2   3   4   5   6   7   8   9   10   >