Re: [oe-core][PATCH] libpng: Added "--enable-hardware-optimizations" instead of "--enable-arm-neon". Because "--enable-arm-neon" only works for armv7, but doesn't work for aarch64. But in fact neon is

2022-12-13 Thread Andre McCurdy
On Mon, Dec 12, 2022 at 6:38 PM leimaohui wrote: > > Reference to libpng-1.6.38/configure,if enable_hardware_optimizations is > enabled, libpng can judge whether enable enable_arm_neon according > to $host_cpu. > > $ cat libpng-1.6.38/configure > .. >

Re: [OE-core] [PATCH v3] bitbake.conf: Define TC_CXX_RUNTIME

2022-09-09 Thread Andre McCurdy
On Fri, Sep 9, 2022 at 9:52 AM Khem Raj wrote: > > This variable is used to denote the C/C++ compiler runtime to use. > Right now there are few alternatives out of the core which could > use this variable to define this property, the values it can take > are 'gnu' for gcc runtime. 'llvm' for

Re: [OE-core] [PATCH 1/5] zip: Enable largefile support based on distro feature

2022-08-12 Thread Andre McCurdy
On Wed, Aug 10, 2022 at 10:54 PM Khem Raj wrote: > > The configure test tries to run a binary during build to determine > largefile support, which wont work in cross-compile mode, therefore > specify it when largefile DISTRO_FEATURE is on. > > Signed-off-by: Khem Raj > --- >

Re: [OE-core] [meta-oe][PATCH v2] classes: rootfs-postcommands: autologin root on serial-getty

2022-07-26 Thread Andre McCurdy
On Tue, Jul 26, 2022 at 2:39 AM Johannes Schneider via lists.openembedded.org wrote: > > when empty-root-password AND serial-autologin-root are part of the > IMAGE_FEATURES, save some of the developers time by not having to type > the (then still sole) 'root' username on the serial consoleafter

Re: [OE-core] [PATCH v3 1/2] poky-altcfg: enable usrmerge

2022-07-13 Thread Andre McCurdy
On Wed, Jul 13, 2022 at 12:02 PM Luca Bocassi wrote: > > On Wed, 13 Jul 2022 at 19:36, Richard Purdie > wrote: > > > > On Wed, 2022-07-13 at 19:09 +0100, Luca Boccassi wrote: > > > On Wed, 13 Jul 2022 at 18:53, Richard Purdie > > > wrote: > > > > > > > > On Wed, 2022-07-13 at 17:55 +0100, Luca

Re: [OE-core] [RFC PATCH] bitbake-layers: add layer repositories/revisions save and restore tooling (aka 'layer configuration')

2022-07-04 Thread Andre McCurdy
On Sat, Jul 2, 2022 at 4:13 AM Richard Purdie wrote: > > I admit I've been putting off this topic for a long time. I actually > wrote up something about it about 5 years ago. I sent it to four people > to get some opinions. The six opinions I got back made me despair. i > have had a while to

Re: [OE-core] [PATCH] ccache.bbclass: document CCACHE_MAXSIZE variable

2022-05-26 Thread Andre McCurdy
On Thu, May 26, 2022 at 5:06 PM Zach Welch wrote: > > Setting this avoids premature cache object eviction during large builds. > > Signed-off-by: Zachary T Welch > --- > meta/classes/ccache.bbclass | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

Re: [OE-core] [PATCH] sanity: skip make 4.2.1 warning for debian

2022-04-27 Thread Andre McCurdy
On Wed, Apr 27, 2022 at 3:40 AM Richard Purdie wrote: > > On Tue, 2022-04-26 at 14:39 -0700, Andre McCurdy wrote: > > On Tue, Apr 26, 2022 at 1:56 PM Khem Raj wrote: > > > > > > On Tue, Apr 26, 2022 at 1:51 PM Andre McCurdy wrote: > > > > > &

Re: [OE-core] [PATCH] sanity: skip make 4.2.1 warning for debian

2022-04-26 Thread Andre McCurdy
On Tue, Apr 26, 2022 at 1:56 PM Khem Raj wrote: > > On Tue, Apr 26, 2022 at 1:51 PM Andre McCurdy wrote: > > > > On Tue, Apr 26, 2022 at 12:46 PM Nicolas Dechesne > > wrote: > > > > > > This is a follow up patch of: > > > ad5829aa1f

Re: [OE-core] [PATCH] sanity: skip make 4.2.1 warning for debian

2022-04-26 Thread Andre McCurdy
On Tue, Apr 26, 2022 at 12:46 PM Nicolas Dechesne wrote: > > This is a follow up patch of: > ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu > systems) > > Debian10 has the exact same version/sources for make as Ubuntu > (focal), e.g.

Re: [OE-core] [PATCH] devshell: introduce intercepts as per native / nativesdk

2022-04-20 Thread Andre McCurdy
On Wed, Apr 20, 2022 at 8:12 AM Paul Gortmaker wrote: > > In a devshell, recent versions of git will complain if the repo is owned > by someone other than the current UID - consider this example: > > -- > bitbake -c devshell linux-yocto > > [...] > > kernel-source#git branch > fatal:

Re: [OE-core] [PATCH 2/2] buildtools: Add standalone make tarball

2022-04-13 Thread Andre McCurdy
On Wed, Apr 13, 2022 at 10:58 AM Richard Purdie wrote: > > Some versions of make have bugs. Add a way to provide a make tarball > that can be used on it's own in these cases. > > Signed-off-by: Richard Purdie > --- > meta/conf/distro/include/maintainers.inc | 1 + >

Re: [oe-core][PATCH] glib-networking: build with gnutls support

2022-04-10 Thread Andre McCurdy
On Sun, Apr 10, 2022 at 10:29 AM Markus Volk wrote: > > this fixes authentication issues with geary and tls connection > > Signed-off-by: Markus Volk > --- > meta/recipes-core/glib-networking/glib-networking_2.72.0.bb | 2 +- > meta/recipes-support/gnutls/gnutls_3.7.4.bb | 2 +-

Re: [OE-core] [oe] INCOMPATIBLE_LICENSES and WHITELIST_ usage

2022-02-17 Thread Andre McCurdy
On Thu, Feb 17, 2022 at 3:01 PM Saul Wold wrote: > > Folks, > > I am working on a proposal to re-write how INCOMPATIBLE_LICENSES is used > and processed to possibly include a COMPATIBLE_LICENSES variable as > well, see PeterK's email [0] > > I am trying to determine the usage of WHITELIST_ which

Re: [OE-core] [PATCH 1/2] busybox: refresh the defconfig from 1.33.0

2021-12-20 Thread Andre McCurdy
On Mon, Dec 20, 2021 at 5:08 AM Martin Jansa wrote: > > Hi, > > I don't remember the details, but looks like not intended. I guess I was > running with default SRC_URI which contains syslog.cfg and other optional > fragments, can you please refresh it again with all .cfg files removed from >

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-12-06 Thread Andre McCurdy
On Fri, Dec 3, 2021 at 10:07 AM Andre McCurdy wrote: > > On Fri, Dec 3, 2021 at 2:06 AM Richard Purdie > wrote: > > > > On Fri, 2021-12-03 at 01:39 -0800, Andre McCurdy wrote: > > > On Wed, Dec 1, 2021 at 2:33 PM Richard Purdie > > > wrote: > >

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-12-03 Thread Andre McCurdy
On Fri, Dec 3, 2021 at 5:59 AM Peter Kjellerstedt wrote: > > > -Original Message- > > From: openembedded-core@lists.openembedded.org > c...@lists.openembedded.org> On Behalf Of Richard Purdie > > Sent: den 3 december 2021 11:07 > > To: Andre McCurdy >

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-12-03 Thread Andre McCurdy
On Fri, Dec 3, 2021 at 2:06 AM Richard Purdie wrote: > > On Fri, 2021-12-03 at 01:39 -0800, Andre McCurdy wrote: > > On Wed, Dec 1, 2021 at 2:33 PM Richard Purdie > > wrote: > > > > > > On Tue, 2021-11-30 at 13:45 -0800, Andre McCurdy wrote: > > >

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-12-03 Thread Andre McCurdy
On Wed, Dec 1, 2021 at 2:33 PM Richard Purdie wrote: > > On Tue, 2021-11-30 at 13:45 -0800, Andre McCurdy wrote: > > On Tue, Nov 30, 2021 at 1:20 PM Ross Burton wrote: > > > > > > On Tue, 30 Nov 2021 at 19:32, Andre McCurdy wrote: > > > > This

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-11-30 Thread Andre McCurdy
On Tue, Nov 30, 2021 at 1:20 PM Ross Burton wrote: > > On Tue, 30 Nov 2021 at 19:32, Andre McCurdy wrote: > > This isn't equivalent - it will cause a change in behaviour for anyone > > using PACKAGECONFIG += "foo" from a .bbappend. > > Correct, but this is lik

Re: [OE-core] [PATCH v2 2/2] vim: set PACKAGECONFIG idiomatically

2021-11-30 Thread Andre McCurdy
On Tue, Nov 30, 2021 at 8:53 AM Ross Burton wrote: > > Don't set an empty default value and them immediately assign to it. > > Signed-off-by: Ross Burton > --- > meta/recipes-support/vim/vim.inc | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-19 Thread Andre McCurdy
On Fri, Nov 19, 2021 at 12:17 AM Alexander Kanavin wrote: > > On Fri, 19 Nov 2021 at 00:14, Andre McCurdy wrote: >> >> > So everything that is supposed to be there is actually present, and the >> > patch is indeed unneeded. >> >> Looks good. If yo

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-18 Thread Andre McCurdy
n.o", "klibc-utils/built-in.o", "e2fsprogs/built-in.o", > "editors/built-in.o", "findutils/built-in.o", "init/built-in.o", > "libbb/built-in.o", "libpwdgrp/built-in.o", "loginutils/built-in.o", >

Re: [OE-core] [PATCH 34/36] busybox: drop 0001-Use-CC-when-linking-instead-of-LD-and-use-CFLAGS-and.patch

2021-11-17 Thread Andre McCurdy
On Wed, Nov 17, 2021 at 7:36 AM Alexander Kanavin wrote: > > This was added 10 years ago, is almost certainly non-upstreamable > and it isn't clear what the issues it aims to fix are: > the AB revealed no problems when the patch is removed. The comment in the patch was: This fixes the issue

Re: [OE-core] [PATCH] recipe-graphics: Add depends on cmake-native

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 5:41 PM Peter Kjellerstedt wrote: > > > -Original Message- > > From: openembedded-core@lists.openembedded.org > > On Behalf Of Anibal Limon > > Sent: den 11 november 2021 01:44 > > To: openembedded-core@lists.openembedded.org > > Cc:

Re: [OE-core] [PATCH 1/5] mirrors.bbclass: Clean up the additions to MIRRORS

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:19 PM Peter Kjellerstedt wrote: > > * Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal > for the type field and instead anchor regexp) the type regexp has > been automatically anchored at the end. > * Since commit 044fb04d in bitbake (fetch2: Allow

Re: [OE-core] [PATCH 3/5] gcc-common.inc: Clean up the additions to MIRRORS

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:19 PM Peter Kjellerstedt wrote: > > Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror > entries) there is no need to separate the entries in MIRRORS with "\n". > > Signed-off-by: Peter Kjellerstedt > --- > meta/recipes-devtools/gcc/gcc-common.inc |

Re: [OE-core] [PATCH] meta: use ln -rs instead of lnr

2021-11-10 Thread Andre McCurdy
On Wed, Nov 10, 2021 at 3:12 AM Ross Burton wrote: > > lnr is a script in oe-core that creates relative symlinks, with the same > behaviour as `ln --relative --symlink`. It was added back in 2014[1] as > not all of the supported host distributions at the time shipped > coreutils 8.16, the first

Re: [OE-core] Depending on other package's config

2021-11-05 Thread Andre McCurdy
On Fri, Nov 5, 2021 at 3:25 PM Maxim Sloyko via lists.openembedded.org wrote: > > Hi all, > > Posting this to openembedded-core, as it was suggested to me. > > The recipe that I'm working on for our system (let's call it A) has a > dependency on a certain feature being enabled in another package

Re: [OE-core] simplest use of SSTATE_MIRRORS?

2021-09-27 Thread Andre McCurdy
On Mon, Sep 27, 2021 at 9:13 AM Robert P. J. Day wrote: > > colleague asked me how SSTATE_MIRRORS worked, so i had to check, > followed the section here: > > http://docs.yoctoproject.org/overview-manual/concepts.html#shared-state-cache > > and in one of own builds, i moved the entire

Re: [OE-core] minor curiosity related to libdir vs base_libdir and shared libs

2021-09-07 Thread Andre McCurdy
On Sun, Sep 5, 2021 at 1:02 PM Robert P. J. Day wrote: > a minor oddity i stumbled over digging into the proper installation > of shared libraries ... building core-image-minimal for qemuarm64 and, > for the most part, recipes from oe-core that install shared libs put > all three artifacts

Re: [OE-core] [PATCH] bitbake.conf: update way of setting XZ_MEMLIMIT

2021-08-24 Thread Andre McCurdy
On Tue, Aug 24, 2021 at 7:15 AM Richard Purdie wrote: > > On Tue, 2021-08-24 at 17:40 +0800, Changqing Li wrote: > > From: Changqing Li > > > > Update way of setting XZ_MEMLIMIT, considering scenario that > > running bitbake in container, to avoid OOM Killer of xz. > > > > For example: > >

Re: [OE-core][PATCH] vim: add option to disable NLS support

2021-08-23 Thread Andre McCurdy
On Mon, Aug 23, 2021 at 10:12 AM Andrej Valek wrote: > > Hello Khem, > > I looked exactly into configure.ac which arguments are expecting for those > options. So I think, it has to be mentioned explicitly. Assuming configure.ac is based around AC_ARG_ENABLE / AC_ARG_WITH then an explicit option

Re: [OE-core] would reducing BB_NUMBER_THREADS solve parallelism overheating?

2021-08-08 Thread Andre McCurdy
On Sat, Aug 7, 2021 at 8:26 AM Robert P. J. Day wrote: > > i've asked about this previously, but i finally got around to > thinking about this in detail, and i'd like some feedback. > > i've described the overheating/lockup issues i've been having on a > dell latitude laptop building a

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-08-06 Thread Andre McCurdy
On Fri, Aug 6, 2021 at 7:12 AM Luca Boccassi wrote: > > On Thu, 29 Jul 2021 at 20:11, Andre McCurdy wrote: > > > > On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi > > wrote: > > > > > > Having a look at the patches, a few comments: > > &g

Re: [OE-core] [PATCH] systemd-boot: use ld.bfd as efi-ld when gold is being used by default with ld-is-gold

2021-08-03 Thread Andre McCurdy
On Tue, Aug 3, 2021 at 12:04 PM Martin Jansa wrote: > > * since the upgrade to 249.1 in: > > https://git.openembedded.org/openembedded-core/commit/?id=323ec445dfe22860cd450c303db5ed8fcb4e791c > the builds with ld-is-gold are failing with: > > [17/21] Generating linuxx64.elf.stub with a

Re: [OE-core] [PATCH] systemd: Fix build on musl

2021-07-29 Thread Andre McCurdy
On Thu, Jul 29, 2021 at 6:49 AM Luca Bocassi wrote: > > Having a look at the patches, a few comments: > > - 0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch I find > quite worrying, as it fundamentally changes access patterns, some of > which are done for security reasons. At best,

Re: [OE-core] [PATCH 3/3] meta: Manual override fixes

2021-07-28 Thread Andre McCurdy
On Wed, Jul 28, 2021 at 1:54 PM Richard Purdie wrote: > > On Wed, 2021-07-28 at 13:43 -0700, Andre McCurdy wrote: > > On Wed, Jul 28, 2021 at 1:24 PM Richard Purdie > > wrote: > > > > > > On Wed, 2021-07-28 at 21:00 +0100, Richard Purdie via > > >

Re: [OE-core] [PATCH pseudo 4/4] Do not return address of local variable

2021-07-28 Thread Andre McCurdy
On Wed, Jul 28, 2021 at 1:16 PM Seebs wrote: > > On Wed, 28 Jul 2021 11:36:22 +0200 > "Damian Wrobel" wrote: > > > Do I correctly assume that pseudo_client_op() has to be fully > > reentrant? > > No. It's never been even a tiny bit reentrant. We used to do the > allocate and free thing, and it

Re: [OE-core] [PATCH 3/3] meta: Manual override fixes

2021-07-28 Thread Andre McCurdy
On Wed, Jul 28, 2021 at 1:24 PM Richard Purdie wrote: > > On Wed, 2021-07-28 at 21:00 +0100, Richard Purdie via lists.openembedded.org > wrote: > > On Wed, 2021-07-28 at 12:32 -0700, Andre McCurdy wrote: > > > On Wed, Jul 28, 2021 at 7:15 AM Ric

Re: [OE-core] [PATCH 3/3] meta: Manual override fixes

2021-07-28 Thread Andre McCurdy
On Wed, Jul 28, 2021 at 7:15 AM Richard Purdie wrote: > > The automated conversion of OE-Core to use the new override sytax isn't > perfect. This patches some mis-converted lines and some lines which were > missed > by the automation. > > Signed-off-by: Richard Purdie > --- >

Re: [OE-core][dunfell][PATCH v2 1/3] cmake-native: enabled zstd support

2021-07-27 Thread Andre McCurdy
On Tue, Jul 27, 2021 at 12:24 AM Richard Purdie wrote: > > On Mon, 2021-07-26 at 14:40 -1000, Steve Sakoman wrote: > > On Mon, Jul 26, 2021 at 12:27 PM Ruslan Babayev (fib) > > wrote: > > > > > > Hi Steve, > > > > > > Thanks for reviewing the patches. I understand the problem of merging this >

Re: [OE-core] [PATCH v2] rootfs: remove ldconfig auxiliary cache where appropriate

2021-07-23 Thread Andre McCurdy
On Fri, Jul 23, 2021 at 2:22 AM Damian Wrobel wrote: > > Removes the /var/cache/ldconfig auxiliary cache directory from > the rootfs when: > - read-only-rootfs is in DISTRO_FEATURES, > - ldconfig is not in DISTRO_FEATURES. Comments say DISTRO_FEATURES but code is checking IMAGE_FEATURES in

Re: [OE-core] [PATCH] rootfs: remove ldconfig auxiliary cache where appropriate

2021-07-23 Thread Andre McCurdy
On Fri, Jul 23, 2021 at 2:16 AM Damian Wrobel wrote: > > On Thu, 22 Jul 2021 21:00:15 +0200 Andre McCurdy > wrote > > On Thu, Jul 22, 2021 at 2:48 AM Damian Wrobel > > wrote: > > > > > > Removes the /var/cache/ldconfig auxiliary cach

Re: [OE-core] [PATCH] rootfs: remove ldconfig auxiliary cache where appropriate

2021-07-22 Thread Andre McCurdy
On Thu, Jul 22, 2021 at 2:48 AM Damian Wrobel wrote: > > Removes the /var/cache/ldconfig auxiliary cache directory from > the rootfs when: > - read-only-rootfs is in DISTRO_FEATURES, > - ldconfig is not in DISTRO_FEATURES. > > In both cases the /var/cache/ldconfig/aux-cache is useless. Should

Re: [OE-core] how to configure an image with *full* debugging info in the libs and binaries?

2021-07-20 Thread Andre McCurdy
On Mon, Jul 19, 2021 at 5:06 PM Ross Burton wrote: > On Fri, 16 Jul 2021 at 20:10, Robert P. J. Day wrote: > > colleague just asked me what it would take to generate an image > > where the executables and libraries contain all the gdb-related > > debugging info in the same files (that is, not

Re: [OE-core] [PATCH] pypi: set SRC_URI with =, not with +=

2021-06-24 Thread Andre McCurdy
On Wed, Jun 23, 2021 at 3:18 AM Alexander Kanavin wrote: > > Frankly guys, I think maybe we should just break stuff in this case, and have > it fixed up properly, then try to guess what workaround might work. > > From that perspective the original patch is the most clear. The typical ordering

Re: [OE-core] should the same recipe have two different WORKDIRs?

2021-06-16 Thread Andre McCurdy
On Wed, Jun 16, 2021 at 9:30 AM Robert P. J. Day wrote: > perhaps i've just never noticed before, but a colleague asked me to > debug some strangeness with his WRLinux build, and what i noticed was > that the recipe that generated a package with a single (aarch64) > executable created WORKDIRs

Re: [OE-core] [PATCH] ffmpeg: link in libatomic on 32-bit mips

2021-06-15 Thread Andre McCurdy
On Mon, Jun 14, 2021 at 8:54 PM kai wrote: > > From: Kai Kang > > It needs some functions from libatomic on 32-bit mips too: > > | libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8' > > Signed-off-by: Kai Kang > --- > meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 1 + >

Re: [OE-core] [V2][PATCH] libjpeg-turbo: fix do_compile error on armv5

2021-06-10 Thread Andre McCurdy
On Thu, Jun 10, 2021 at 2:42 AM Changqing Li wrote: > On 6/10/21 1:29 AM, Andre McCurdy wrote: > > [Please note: This e-mail is from an EXTERNAL e-mail address] > > > > On Wed, Jun 9, 2021 at 12:32 AM Changqing Li > > wrote: > >> From: Changqing Li >

Re: [OE-core] [V2][PATCH] libjpeg-turbo: fix do_compile error on armv5

2021-06-09 Thread Andre McCurdy
On Wed, Jun 9, 2021 at 12:32 AM Changqing Li wrote: > > From: Changqing Li > > fix below error: > /include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with > the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" > 31 | #error "NEON intrinsics not available

Re: [OE-core] want to clarify proper approach to shared lib (.so) installation

2021-06-04 Thread Andre McCurdy
On Thu, Jun 3, 2021 at 7:26 AM Robert P. J. Day wrote: > > On Thu, 3 Jun 2021, Andrea Adami wrote: > > > On Thu, Jun 3, 2021 at 4:01 PM Robert P. J. Day > > wrote: > > > > > > > > > sort of a 2-part soliloquy. in current YP code base i've inherited, > > > most of the internal (local directory

Re: [OE-core] master/main branch renaming and bitbake

2021-05-19 Thread Andre McCurdy
On Thu, May 13, 2021 at 3:48 PM Richard Purdie wrote: > > On Thu, 2021-05-13 at 17:33 -0400, colin walters wrote: > > > > On Thu, May 13, 2021, at 4:08 PM, Richard Purdie wrote: > > > > > > The advice to anyone hitting this issue is to add in the correct branch > > > to the SRC_URI. It is simple

Re: [OE-core] how to create debugfs while ruthlessly stripping image contents?

2021-05-18 Thread Andre McCurdy
On Tue, May 18, 2021 at 10:00 AM Robert P. J. Day wrote: > muh colleague just presented me with the following ... until > recently, build was properly producing bootable image while > simultaneously creating companion debugfs. so far, so good. > > then enough packages were added so that image

Re: [OE-core] [PATCH] mklibs-native: Fix build with gcc 11

2021-05-17 Thread Andre McCurdy
On Mon, May 17, 2021 at 10:05 AM Jacob Kroon wrote: > > In gcc 11 the default mode for C++ is now -std=gnu++17 instead of > -std=gnu++14, > in which support for dynamic exception specifications has been removed. As much as I'd like to see mklibs fully supported in OE, at some point maybe we

Re: [OE-core] is there an easy to prevent *creation* of some recipe's packages?

2021-05-17 Thread Andre McCurdy
On Fri, May 14, 2021 at 5:39 AM Konrad Weihmann wrote: > > On 14.05.21 13:52, Robert P. J. Day wrote: > > On Fri, 14 May 2021, Konrad Weihmann wrote: > > > >> On 14.05.21 13:16, Robert P. J. Day wrote: > >>> > >>> pretty sure i know the answer to this one, but was asked the > >>> other day

Re: [OE-core] couple questions about creating companion debug filesystem

2021-05-13 Thread Andre McCurdy
On Thu, May 13, 2021 at 3:36 AM Robert P. J. Day wrote: > > couple colleagues asked me about the details of how the debug > filesystem is created, and since i wasn't entirely clear on the > mechanics of it myself, i thought i'd dig into it, so a couple > preliminary questions to make sure i'm

Re: [OE-core] master/main branch renaming and bitbake

2021-05-12 Thread Andre McCurdy
On Wed, May 12, 2021 at 2:23 PM Alexander Kanavin wrote: > > And by the way, another reason to check that revision is linked to a branch > is when SRCREV is updated - we need some reassurance that the updated SRCREV > comes from the same branch as previous SRCREV, or that if the branch has >

Re: [OE-core] [PATCH] npth: Link with libpthread

2021-05-12 Thread Andre McCurdy
On Wed, May 12, 2021 at 12:25 PM Khem Raj wrote: > > libnpth.so uses pthread_create so ensure its linked in > > Fixes > > tmp/work/core2-32-yoe-linux/npth/1.6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-ld: > ../src/.libs/libnpth.so: undefined reference to `pthread_create'

Re: [OE-core] SDK question: does "-c populate_sdk" build SDK based on entire image?

2021-05-07 Thread Andre McCurdy
On Fri, May 7, 2021 at 6:47 AM Robert P. J. Day wrote: > > On Fri, 7 May 2021, Quentin Schulz wrote: > > > Hi Robert, > > > > No SDK expert here, so as usual, to be taken with a grain of salt. > > > > On Fri, May 07, 2021 at 09:11:37AM -0400, Robert P. J. Day wrote: > > > > > > almost certainly

Re: [OE-core] how to add a "-dev" package to host SDK?

2021-05-03 Thread Andre McCurdy
On Mon, May 3, 2021 at 7:55 AM Robert P. J. Day wrote: > > colleague asks a simple question (and i'm not in front of my dev box > at the moment so i can't verify what i'm about to suggest): how to add > the header files in a given "-dev" package to the host component of > the SDK? The

Re: [OE-core] [PATCH] busybox: Enable long options for enabled applets

2021-04-29 Thread Andre McCurdy
On Thu, Apr 29, 2021 at 3:29 PM Khem Raj wrote: > > On Wed, Apr 28, 2021 at 10:40 AM Andre McCurdy wrote: > > > > On Tue, Apr 27, 2021 at 10:06 PM Khem Raj wrote: > > > > > > certain applets are enabled but the long options are not enabled for > > >

Re: [OE-core] [PATCH] busybox: Enable long options for enabled applets

2021-04-28 Thread Andre McCurdy
On Tue, Apr 27, 2021 at 10:06 PM Khem Raj wrote: > > certain applets are enabled but the long options are not enabled for > them, it results in subtle failures in ptests where its expecting these > options e.g. gzip --best is commonly used in many package tests e.g. > > root@qemux86-64:/usr/lib#

Re: [OE-core] LTP drop MUSL specific patch

2021-04-27 Thread Andre McCurdy
On Tue, Apr 27, 2021 at 12:17 PM Petr Vorel wrote: > > Hi all, > > > On Mon, Apr 26, 2021 at 11:53 AM Petr Vorel wrote: > > > > Hi Khem, Richard, > > > > I'd like to replace MUSL specific patch > > > meta/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch > > >

Re: [OE-core] LTP drop MUSL specific patch

2021-04-26 Thread Andre McCurdy
On Mon, Apr 26, 2021 at 11:53 AM Petr Vorel wrote: > > Hi Khem, Richard, > > I'd like to replace MUSL specific patch > meta/recipes-extended/ltp/ltp/0001-build-Add-option-to-select-libc-implementation.patch > with just removing broken files. We use this in upstream CI for Alpine, I > ported > it

Re: [OE-core] [yocto-security] [PATCH] busybox: use openssl for TLS connections whenever possible

2021-04-21 Thread Andre McCurdy
On Wed, Apr 21, 2021 at 2:22 AM Shachar Menashe wrote: > On Tue, Apr 20, 2021 at 1:46 PM Shachar Menashe wrote: > > Last time we talked about this I thought we would need to change something in > openssl build settings to make the openssl binary get built just for this > solution, and that was

Re: [OE-core] [yocto-security] [PATCH] busybox: use openssl for TLS connections whenever possible

2021-04-20 Thread Andre McCurdy
On Tue, Apr 20, 2021 at 1:46 PM Shachar Menashe wrote: > > Last time we talked about this I thought we would need to change something in > openssl build settings to make the openssl binary get built just for this > solution, and that was what got rejected. > But actually now I see (or perhaps

Re: [OE-core] [yocto-security] [PATCH] busybox: use openssl for TLS connections whenever possible

2021-04-20 Thread Andre McCurdy
On Tue, Apr 20, 2021 at 10:23 AM Randy MacLeod wrote: > > Add the oe-core list where patches are usually discussed. > > On 2021-04-17 10:41 a.m., Shachar Menashe wrote: > > This adds proper TLS verification to wget > > I think you should add some of the comments you made in the bugzilla here: > >

Re: [OE-core] [PATCH 2/3] btrfs-tools: Add PACKAGECONFIG options

2021-04-16 Thread Andre McCurdy
On Fri, Apr 16, 2021 at 7:28 AM Robert Joslyn wrote: > > On Apr 16, 2021, at 12:17 AM, Andre McCurdy wrote: > > On Thu, Apr 15, 2021 at 10:38 PM Robert Joslyn > > wrote: > >> > >> Add options to make it easier to control which features are enabled.

Re: [OE-core] [PATCH 2/3] btrfs-tools: Add PACKAGECONFIG options

2021-04-16 Thread Andre McCurdy
On Thu, Apr 15, 2021 at 10:38 PM Robert Joslyn wrote: > > Add options to make it easier to control which features are enabled. All > of these default to enabled by upstream, so keep them enabled to > maintain previous behavior. > > The convert option also supports reiserfs, but no recipes exist

Re: [OE-core] [PATCH] gcc: Upgrade to 10.3.0 bug-fix release

2021-04-09 Thread Andre McCurdy
On Fri, Apr 9, 2021 at 12:49 PM Khem Raj wrote: > > Drop aarch64 backports which are already upstream > List of bugs fixed is [1] > > [1] > https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED_id=298084=FIXED_milestone=10.3 It looks like you forgot to update BINV ? > Signed-off-by:

Re: [OE-core] [PATCH] curl: upgrade 7.75.0 -> 7.76.0

2021-04-09 Thread Andre McCurdy
On Fri, Apr 9, 2021 at 12:07 AM wangmy wrote: > > I'm going to revise it like this. Please see if it's OK: > > @@ -54,6 +54,7 @@ > PACKAGECONFIG[threaded-resolver] = > "--enable-threaded-resolver,--disable-threaded-resolverares" > PACKAGECONFIG[verbose] =

Re: [OE-core][dunfell 13/15] packagegroups: delete useless "PROVIDES" lines

2021-04-01 Thread Andre McCurdy
On Thu, Apr 1, 2021 at 8:29 AM Steve Sakoman wrote: > > From: "Robert P. J. Day" > > There is apparently no functional value to "PROVIDES" lines anymore in > packagegroup recipe files, so remove the lonely couple of examples > left. Seems questionable for backporting to a stable release. The

Re: [OE-core] what are the dangers of adding "out-of-tree" files to FILES_${PN}?

2021-04-01 Thread Andre McCurdy
On Thu, Apr 1, 2021 at 6:08 AM Robert P. J. Day wrote: > > recently, i've run across a couple layers based on pretty much > up-to-date OE/YP, where fixed files are being added to a package via > assignments like this: > > FILES_${PN} += "/data" > > i already know that's a bad idea, but i'm

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Andre McCurdy
version of the patch. > > On 29 Mar 2021, at 20:00, Andre McCurdy wrote: > > > > On Mon, Mar 29, 2021 at 3:45 PM Devendra Tewari > > wrote: > >> > >> Thanks! My bad. The example I looked up in Python docs had a break and I > >> just realized i

Re: [OE-core] [PATCH] Use shutil.move when os.rename fails

2021-03-29 Thread Andre McCurdy
On Mon, Mar 29, 2021 at 3:45 PM Devendra Tewari wrote: > > Thanks! My bad. The example I looked up in Python docs had a break and I just > realized it was a looping example. > > Here’s the updated patch (or should I submit it again via git send-email?) It would be better to use shutil.move

Re: [OE-core] some trivial(?) questions about packagegroups

2021-03-27 Thread Andre McCurdy
On Sat, Mar 27, 2021 at 3:31 AM Robert P. J. Day wrote: > On Fri, 26 Mar 2021, Andre McCurdy wrote: > > On Fri, Mar 26, 2021 at 8:45 AM Robert P. J. Day > > wrote: > > > what should be easy questions about packagegroups, inspired by my > > > running across s

Re: [OE-core] some trivial(?) questions about packagegroups

2021-03-26 Thread Andre McCurdy
On Fri, Mar 26, 2021 at 8:45 AM Robert P. J. Day wrote: > > what should be easy questions about packagegroups, inspired by my > running across some puzzling packagegroup recipes in my travels > recently. (i'll start with examples out of oe-core). > > first, as with any other recipe, given a

Re: [OE-core] [PATCH v11] util-linux: split uuid in separate recipe to allow bootstrapping

2021-03-26 Thread Andre McCurdy
On Fri, Mar 26, 2021 at 11:12 AM Richard Purdie wrote: > > On Fri, 2021-03-26 at 18:06 +, Peter Kjellerstedt wrote: > > > -Original Message- > > > From: Richard Purdie > > > Sent: den 25 mars 2021 17:52 > > > To: Peter Kjellerstedt ; Oleksiy Obitotskyi - > > > X (oobitots -

Re: [OE-core] [PATCH 1/2] bitbake.conf: ensure BUILD_* tools match target tools

2021-03-23 Thread Andre McCurdy
On Tue, Mar 23, 2021 at 2:29 PM Ross Burton wrote: > > Add a few more tools to the BUILD_* list, to match the target tool list. > > Signed-off-by: Ross Burton > --- > meta/conf/bitbake.conf | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/conf/bitbake.conf

Re: [OE-core] proper (vs weird) way to define proprietary licenses

2021-03-23 Thread Andre McCurdy
On Tue, Mar 23, 2021 at 3:13 AM Robert P. J. Day wrote: > > once again into the code base i'm poring over, and this time, it's > about defining proprietary licenses for internal recipes. The typical approach for recipes which build proprietary code is to set LICENSE to "CLOSED" (and not define

Re: [OE-core] really strange usage of FILESPATH and FILESEXTRAPATHS

2021-03-22 Thread Andre McCurdy
On Mon, Mar 22, 2021 at 2:29 PM Robert P. J. Day wrote: > > here's the next head-scratching oddity i just ran across in the > current layer (and there's more weirdness on its way). > > perusing a recipe only to see: > > FILESPATH =+ "${COMMON_STUFF_DIR}:" > SRC_URI += "file://file1

Re: [OE-core] the weirdness of bbappend'ing to stock OE images

2021-03-22 Thread Andre McCurdy
On Mon, Mar 22, 2021 at 12:50 PM Robert P. J. Day wrote: > > > more a style issue than anything else, but one of the other oddities > in this layer i've been handed is the bbappending to standard OE > images, so that recipes-core/images/ contains recipe files like: > >

Re: [OE-core] curious about weirdness in some FILES_${PN} settings

2021-03-22 Thread Andre McCurdy
On Mon, Mar 22, 2021 at 11:43 AM Robert P. J. Day wrote: > (warning: i've just been handed an existing OE code base, and i'm > going to ask some questions about some head-scratching things i'm > finding in it, so be prepared for weird questions.) > > in one recipe, i see the following

Re: [OE-core] diff between "bitbake meta-toolchain" and "bitbake -c populate_sdk ?

2021-03-19 Thread Andre McCurdy
On Fri, Mar 19, 2021 at 7:23 AM Robert P. J. Day wrote: > colleague just asked me about the difference between building an SDK > with either of: > > $ bitbake meta-toolchain > $ bitbake -c populate_sdk > > i know that the meta-toolchain recipe file contains little more than > inheriting

Re: [OE-core] [PATCH 2/2] core-image-sato: qemuarmv5 doesn't work with >256M RAM

2021-03-10 Thread Andre McCurdy
On Wed, Mar 10, 2021 at 7:16 PM Jon Mason wrote: > > On Wed, Mar 10, 2021 at 6:30 PM Andre McCurdy wrote: > > > > On Wed, Mar 10, 2021 at 3:04 PM Jon Mason wrote: > > > > > > Currently seeing the following error when running runqemu on qemuarmv5: > > &g

Re: [OE-core] [PATCH 1/2] qemuarmv5: add softfp

2021-03-10 Thread Andre McCurdy
On Wed, Mar 10, 2021 at 7:09 PM Jon Mason wrote: > > On Wed, Mar 10, 2021 at 6:25 PM Andre McCurdy wrote: > > > > On Wed, Mar 10, 2021 at 3:04 PM Jon Mason wrote: > > > > > > pulseaudio-14.2 is throwing the following error when compiling for > >

Re: [OE-core] [PATCH 2/2] core-image-sato: qemuarmv5 doesn't work with >256M RAM

2021-03-10 Thread Andre McCurdy
On Wed, Mar 10, 2021 at 3:04 PM Jon Mason wrote: > > Currently seeing the following error when running runqemu on qemuarmv5: > runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: memory > size must not exceed 256MB > > This is due to the memory size being set to 512 instead of

Re: [OE-core] [PATCH 1/2] qemuarmv5: add softfp

2021-03-10 Thread Andre McCurdy
On Wed, Mar 10, 2021 at 3:04 PM Jon Mason wrote: > > pulseaudio-14.2 is throwing the following error when compiling for > machine qemuarmv5 > "NEON intrinsics not available with the soft-float ABI. Please use > -mfloat-abi=softfp or -mfloat-abi=hard" > > Using softfp to resolve this issue.

Re: [OE-core] [PATCH] resolvconf: add missing dependencies to RDEPENDS

2021-03-09 Thread Andre McCurdy
hem Raj : > On 3/8/21 2:25 PM, Andre McCurdy wrote: > > On Mon, Mar 8, 2021 at 2:15 PM Khem Raj wrote: > >> > >> On 3/8/21 2:11 PM, Andre McCurdy wrote: > >>> On Mon, Mar 8, 2021 at 11:30 AM Khem Raj wrote: > >>>> > >>>> From: Fra

Re: [OE-core] [PATCH] resolvconf: add missing dependencies to RDEPENDS

2021-03-08 Thread Andre McCurdy
On Mon, Mar 8, 2021 at 2:15 PM Khem Raj wrote: > > On 3/8/21 2:11 PM, Andre McCurdy wrote: > > On Mon, Mar 8, 2021 at 11:30 AM Khem Raj wrote: > >> > >> From: Frans Meulenbroeks > >> > >> resolvconf uses flock and readlink. > >>

Re: [OE-core] [PATCH] resolvconf: add missing dependencies to RDEPENDS

2021-03-08 Thread Andre McCurdy
On Mon, Mar 8, 2021 at 11:30 AM Khem Raj wrote: > > From: Frans Meulenbroeks > > resolvconf uses flock and readlink. > So explicitly added dependencies on util-linux (for flock) and coreutils > (for readlink). > Note that the options used with flock and readlink are not part of the > busybox

Re: [OE-core] [PATCH] spirv-tools: Replace strncpy with memcpy

2021-02-27 Thread Andre McCurdy
On Sat, Feb 27, 2021 at 12:18 AM Khem Raj wrote: > > Fixes warnings produced with gcc 11 > > Signed-off-by: Khem Raj > --- > .../files/0001-fix-strncpy-bound-error.patch | 30 +++ > .../spir/spirv-tools_2020.6.bb| 4 ++- > 2 files changed, 33 insertions(+), 1

Re: [OE-core][gatesgarth]Mongodb segfault on gatesgarth

2021-02-23 Thread Andre McCurdy
On Tue, Feb 23, 2021 at 2:39 PM jaewon wrote: > > > Still struggling with this issue, Perhaps first decide what you are actually trying to do. The choice is between including debug symbols in the mongodb binary installed on the target (e.g. modifying INHIBIT_PACKAGE_STRIP and/or

Re: [OE-core] [PATCH] security_flags.inc: Use -O with -D_FORTIFY_SOURCE

2021-02-10 Thread Andre McCurdy
On Wed, Feb 10, 2021 at 12:48 AM Mikko Rapeli wrote: > > Hi, > > On Tue, Feb 09, 2021 at 11:37:39PM -0800, Khem Raj wrote: > > In this case -O will take effect sadly. and it seems to be that > > autconf munges the compiler cmdline > > while generating CFLAGS in generated Makefiles and appends

Re: [OE-core] [PATCH] [RFC] openssl: Enable cryptodev-linux by default

2021-01-29 Thread Andre McCurdy
On Fri, Jan 29, 2021 at 12:45 PM Otavio Salvador wrote: > > Em sex., 29 de jan. de 2021 às 17:39, Andre McCurdy > escreveu: > > > > If a distro or BSP layer wants to enable cryptodev-linux support in > > openssl they can already do so by creating a .bbappend

Re: [OE-core] [PATCH] [RFC] openssl: Enable cryptodev-linux by default

2021-01-29 Thread Andre McCurdy
On Fri, Jan 29, 2021 at 12:34 AM Diego Santa Cruz via lists.openembedded.org wrote: > > > -Original Message- > > From: openembedded-core@lists.openembedded.org > c...@lists.openembedded.org> On Behalf Of Khem Raj via > > lists.openembedded.org > > Sent: 29 January 2021 02:16 > > To: Tom

Re: [OE-core] [PATCH] pulseaudio: define -mfloat-abi=softfp for CC on armv5

2020-12-28 Thread Andre McCurdy
On Mon, Dec 28, 2020 at 6:36 PM Yu, Mingli wrote: > > From: Mingli Yu > > After pulseaudio upgrades from 13.0 to 14.0, it also switches from autotools > to meson and there's no option for disabling Neon optimizations with meson. > And the build system adds -mfpu=neon at the end of the compiler

Re: [OE-core] [yocto-security] [PATCH] openssl: drop support for deprecated algorithms

2020-12-21 Thread Andre McCurdy
On Sat, Dec 19, 2020 at 4:08 PM Richard Purdie wrote: > > On Sat, 2020-12-19 at 19:04 +0100, Konrad Weihmann wrote: > > > > On 19.12.20 18:58, Richard Purdie wrote: > > > On Sat, 2020-12-19 at 18:53 +0100, Konrad Weihmann wrote: > > > > On 19.12.20 18:36, Richard Purdie wrote: > > > > >

Re: [OE-core] [PATCH 3/4] busybox: Run mdev as daemon

2020-12-17 Thread Andre McCurdy
On Thu, Dec 17, 2020 at 7:52 PM Khem Raj wrote: > > On Thu, Dec 17, 2020 at 3:59 PM Andre McCurdy wrote: > > > > On Thu, Dec 17, 2020 at 2:54 PM Khem Raj wrote: > > > > > > When busybox is used for device management, kernel needs to suppor

  1   2   3   4   5   6   7   8   9   10   >