[OE-core] [PATCHv3 01/11] bitbake.conf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map

2023-11-15 Thread Martin Jansa
6/image/usr/sbin/foo Signed-off-by: Martin Jansa --- v3: added additional fix for perf (and changes in other recipes were moved to separate commits) meta/conf/bitbake.conf | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.c

Re: [OE-core] how to INSANE_SKIP duplicate installed files?

2023-11-15 Thread Martin Jansa
> If two packages install the same filename and they’re both pulled into an image then that is a fatal error and you can’t avoid it. RREPLACES still works, doesn't it? Not that I would recommend using it in this case unless it's the whole RREPLACES/RCONFLICTS/RPROVIDES combo. On Wed, Nov 15,

Re: [OE-core] [PATCHv2] bitbake.conf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map

2023-11-15 Thread Martin Jansa
change uncovers: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/8098/steps/12/logs/warnings > > https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/8056/steps/12/logs/warnings > > And many more > > On 13/11/2023 08:25:24+0100, Martin

[OE-core] [PATCHv2] bitbake.conf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map

2023-11-12 Thread Martin Jansa
6/image/usr/sbin/foo Signed-off-by: Martin Jansa --- v2: shorten to summary to fix: FAIL: test shortlog length: Edit shortlog so that it is 90 characters or less (currently 140 characters) (test_mbox.TestMbox.test_shortlog_length) meta/conf/bitbake.conf| 8 me

[OE-core] [PATCH 2/2] bitbake.conf, ovmf, go-cross-canadian, cargo, libjpeg-turbo, ffmpeg, acpica, perf: drop ${PE} and ${PR} from -f{file,macro,debug}-prefix-map

2023-11-12 Thread Martin Jansa
6/image/usr/sbin/foo Signed-off-by: Martin Jansa --- meta/conf/bitbake.conf| 8 meta/recipes-core/ovmf/ovmf_git.bb| 2 +- meta/recipes-devtools/go/go-cross-canadian.inc| 2 +- meta/recipes-devtools/rust/cargo_1.70.0.bb| 2 +- meta/rec

[OE-core] [PATCH 1/2] staging.bbclass: process installed dependencies in deterministic order as well

2023-11-12 Thread Martin Jansa
From: Martin Jansa * similarly as direct dependencies before * this doesn't fix any issue (at least AFAIK), just keeps the log files more deterministic to avoid unnecessary churn like in: perl-native.log.do_configure: -NOTE: Installed into sysroot: ['zlib-native', 'make-native

Re: [OE-core] [PATCH] common-licenses: Add Baekmuk license

2023-11-12 Thread Martin Jansa
Why don't you add this only to meta-sicom layer? It doesn't seem to be used in many recipes to include it in oe-core. On Tue, Nov 7, 2023 at 12:53 PM Zoltan Boszormenyi wrote: > The Baekmuk font uses this license. > > The license file was extracted from >

Re: [OE-core] [PATCH] bitbake.conf: Drop PE and PR from WORKDIR and STAMP

2023-11-08 Thread Martin Jansa
On Thu, Aug 10, 2023 at 6:41 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Once, we relied upon stamps changing to rebuild. PE and PR are packaging > variables and are reflected in the taskhashes when/where they're used so > they do not need to be in STAMP. > > Similarly, once,

Re: [OE-core] Baekmuk license is not known by Yocto

2023-11-07 Thread Martin Jansa
You can add the license to the layer where the recipe is, see LICENSE_PATH variable used in meta-oe for example. On Tue, Nov 7, 2023 at 12:30 PM Zoltan Boszormenyi wrote: > Hi, > > I have a font package recipe for baekmuk-ttf-fonts > which can't be built under Yocto 4.3 do to these: > >

Re: [OE-core] Meaning of the name of the "cml1" class?

2023-11-03 Thread Martin Jansa
The answer from 2022-07-18 on #yocto channel: 20:20 < hushmoney> what does clm1 stand for as in clm1.bbclass? 20:20 < hushmoney> s/clm1/cml1/g 20:31 < JaMa> hushmoney: interesting question, the bbclass was introduced very long time ago (already included in 2004

Re: [OE-core][kirkstone 3/3] libwebp: Fix CVE-2023-4863

2023-11-02 Thread Martin Jansa
lf of Steve Sakoman via > lists.openembedded.org > *Sent:* Wednesday, November 1, 2023 7:21 PM > *To:* Martin Jansa > *Cc:* openembedded-core@lists.openembedded.org < > openembedded-core@lists.openembedded.org> > *Subject:* Re: [OE-core][kirkstone 3/3] libwebp: Fix CVE-

Re: [OE-core][kirkstone 3/3] libwebp: Fix CVE-2023-4863

2023-10-31 Thread Martin Jansa
I'm surprised this one does apply in kirkstone as there is this security issue already fixed as 2023-5129 (see dunfell commit https://git.openembedded.org/openembedded-core/commit/?h=dunfell=7dce529515baa843ba3e5c89b2ad605b9845c59b and a bit more details in

Re: [OE-core] [PATCH] kernel.bbclass: Use strip utility used for kernel build in do_package

2023-10-30 Thread Martin Jansa
This doesn't work well with ccache.bbclass when KERNEL_STRIP is prefixed with ccache as: KERNEL_STRIP="ccache aarch64-oe-linux-strip " do_package then fails with: ERROR: Fatal errors occurred in subprocesses: [Errno 2] No such file or directory: 'ccache x86_64-oe-linux-strip': Traceback (most

Re: [OE-core] gitsm:// question

2023-10-18 Thread Martin Jansa
; 2023. 10. 18. 15:28 keltezéssel, Julien Stephan írta: > > > Le mer. 18 oct. 2023 à 15:25, Zoltan Boszormenyi > a écrit : > > >> Thanks, I will try it. > > >> > > >> 2023. 10. 18. 15:16 keltezéssel, Martin Jansa írta: > > >>> Just

Re: [OE-core] gitsm:// question

2023-10-18 Thread Martin Jansa
Just add the name to pytorch repo url and use only that in SRCREV_FORMAT, you probably don't care about representing the other repos in SRCPV if you're updating them only together with main pytorch update. On Wed, Oct 18, 2023 at 3:05 PM Zoltan Boszormenyi wrote: > Hi, > > I have a working

Re: [OE-core][dunfell][PATCH] libwebp: Fix CVE-2023-4863 for libwebp

2023-10-16 Thread Martin Jansa
I believe this one is already fixed in dunfell: https://git.openembedded.org/openembedded-core/commit/?h=dunfell=2ab6568d35e3d68f77a73bf56eb2d38aa6ada236 Notice that it references different CVE id:https://nvd.nist.gov/vuln/detail/CVE-2023-5129 which was marked as a rejected duplicate

[OE-core] [kirkstone][PATCH] fontcache.bbclass: avoid native recipes depending on target fontconfig

2023-09-29 Thread Martin Jansa
310d3da04ad9abf8ee7e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da Signed-off-by: Martin Jansa --- meta/classes/fontcache.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/fontcache.bbclass b/meta/classes/fontcache.bbclass index 442bfc7392..34688591f4 100644

[OE-core] [kirkstone][PATCH] ccache: fix build with gcc-13

2023-09-27 Thread Martin Jansa
* needed on hosts with gcc-13 for ccache-native Signed-off-by: Martin Jansa --- ...x-FTBFS-with-not-yet-released-GCC-13.patch | 92 +++ meta/recipes-devtools/ccache/ccache_4.6.bb| 4 +- 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 meta/recipes

[OE-core] [PATCH] multilib_script.bbclass: expand script name as well

2023-09-27 Thread Martin Jansa
cuting shell function multilibscript_rename mv: cannot stat 'BUILD/work/mach-oemllib32-linux-gnueabi/lib32-mozjs-115/115.2.0/package/usr/bin/js115-config': No such file or directory WARNING: exit code 1 from a shell command. I wonder if we actually need multilibscript_rename as apply_update_altern

Re: [OE-core] [PATCH 25/40] meson: upgrade 1.1.1 -> 1.2.1

2023-09-26 Thread Martin Jansa
On Mon, Sep 25, 2023 at 6:47 PM Khem Raj wrote: > gnupg failure seems related to this - > https://errors.yoctoproject.org/Errors/Details/738191/ I've just sent a fix for this one (gupnp not gnupg :)): https://lists.openembedded.org/g/openembedded-devel/message/105145 -=-=-=-=-=-=-=-=-=-=-=-

Re: [OE-core] [PATCH 3/6] sstate: Stop allowing overlapping symlinks from sstate

2023-09-25 Thread Martin Jansa
pur...@linuxfoundation.org> wrote: > On Sun, 2023-09-24 at 11:14 +0200, Martin Jansa wrote: > > Just FYI I think this change is now causing few more recipes to be > mutually exclusive, when they build the same library (even when it's > packaged in differently named package), in wo

Re: [OE-core] [PATCH 3/6] sstate: Stop allowing overlapping symlinks from sstate

2023-09-24 Thread Martin Jansa
Just FYI I think this change is now causing few more recipes to be mutually exclusive, when they build the same library (even when it's packaged in differently named package), in world builds I'm seeing e.g. libslirp and libslirp-virt (from meta-virtualization) causing packagedata failure for one

[OE-core] [PATCH] fontcache.bbclass: avoid native recipes depending on target fontconfig

2023-09-20 Thread Martin Jansa
310d3da04ad9abf8ee7e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da Signed-off-by: Martin Jansa --- meta/classes-recipe/fontcache.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/fontcache.bbclass b/meta/classes-recipe/fontcache.bbclass index 0d496b72dd

Re: [OE-core] [mickledore][PATCH] gcc: backport a fix for ICE caused by CVE-2023-4039.patch

2023-09-18 Thread Martin Jansa
On Mon, Sep 18, 2023 at 7:21 PM Steve Sakoman wrote: > On Mon, Sep 18, 2023 at 7:10 AM Martin Jansa > wrote: > > > > I've intentionally sent it only for mickledore as the gcc version in > kirkstone and dunfell isn't affected by this (at least my reproducer isn't). &g

Re: [OE-core] [mickledore][PATCH] gcc: backport a fix for ICE caused by CVE-2023-4039.patch

2023-09-18 Thread Martin Jansa
I've intentionally sent it only for mickledore as the gcc version in kirkstone and dunfell isn't affected by this (at least my reproducer isn't). On Mon, Sep 18, 2023 at 6:42 PM Steve Sakoman wrote: > On Mon, Sep 18, 2023 at 6:08 AM Ross Burton wrote: > > > > On 18 Sep 2023, at 16:48, Steve

[OE-core] [PATCH] gcc: backport a fix for ICE caused by CVE-2023-4039.patch

2023-09-15 Thread Martin Jansa
* see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 * add git headers to 0025-gcc-testsuite-mips.patch so that it does easily apply with other patches with git am Signed-off-by: Martin Jansa --- meta/recipes-devtools/gcc/gcc-13.2

[OE-core] [mickledore][PATCH] gcc: backport a fix for ICE caused by CVE-2023-4039.patch

2023-09-15 Thread Martin Jansa
* see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111418 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111411 Signed-off-by: Martin Jansa --- meta/recipes-devtools/gcc/gcc-12.3.inc| 1 + ...ch64-Fix-loose-ldpstp-check-PR111411.patch | 117 ++ 2 files changed, 118

Re: [OE-core] [PATCH][mickledore] gcc: Fix -fstack-protector issue on aarch64

2023-09-14 Thread Martin Jansa
On Thu, Sep 14, 2023 at 11:07 AM Martin Jansa wrote: > FYI: one of LGE proprietary components triggers ICE with this applied, > I'll try to find minimal reproducer later, this is just for other people > who might hit the same: > > error: unrecognizable insn: > 2923 | } >

[OE-core] [kirkstone][PATCH] tcl: prevent installing another copy of tzdata

2023-09-13 Thread Martin Jansa
From: Martin Jansa It checks build host filesystem and if it doesn't find UTC or GMT files it installs another copy of tzdata files in: /usr/lib/tcl8.6/tzdata Buildhistory shows the difference: -PKGSIZE = 2227075 +PKGSIZE = 3433088 See the autodetection in configure.in

Re: [OE-core] [langdale][kirkstone][PATCH] go-mod.bbclass: Allow network in do_compile

2023-09-10 Thread Martin Jansa
On Sun, Mar 12, 2023 at 10:15 AM Martin Jansa via lists.openembedded.org wrote: > On Tue, Jan 3, 2023 at 5:03 PM Lukas Funke < > lukas.funke-...@weidmueller.com> wrote: > >> Martin, >> >> first of all: thank you for testing the patches. As usual the corner

[OE-core] [PATCH] webkitgtk: explicitly disable JIT for armv7* with softfp

2023-09-05 Thread Martin Jansa
Signed-off-by: Martin Jansa --- meta/recipes-sato/webkit/webkitgtk_2.40.5.bb | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.40.5.bb index 39bb6a476f..1d85b3f591 100644

Re: [OE-core] [kirkstone][PATCH] libdnf: backport a fix to build with gcc-13

2023-08-30 Thread Martin Jansa
On Wed, Aug 30, 2023 at 5:59 PM Steve Sakoman wrote: > I took a patch submitted yesterday for this same issue: > > https://lists.openembedded.org/g/openembedded-core/message/186814 > > It contains three patches from upstream, rather than the two in your > submission. > > Could you please take a

Re: [OE-core] [PATCH] base.bbclass: Do not fail during parsing if ${SRCREV} does not exist

2023-08-30 Thread Martin Jansa
FWIW: I have seen this in some meta-evil-bsp and the unfortunate part is that only the first parsing fatal error is shown at time, so to find all recipes which now need SkipRecipe, because your bsp vendor is evil, takes possibly many parsing cycles. But in the end nobody should work with evil

[OE-core] [kirkstone][PATCH] libdnf: backport a fix to build with gcc-13

2023-08-30 Thread Martin Jansa
* needed to build libdnf-native on hosts with gcc-13 Signed-off-by: Martin Jansa --- ...ite3-Sqlite3.hpp-add-missing-cstdint.patch | 33 +++ ...onNumber.hpp-add-missing-cstdint-inc.patch | 30 + meta/recipes-devtools/libdnf/libdnf_0.66.0.bb | 2 ++ 3 files

Re: [OE-core] [kirkstone][PATCH] efivar: backport 5 patches to fix build with gold

2023-08-28 Thread Martin Jansa
On Mon, Jul 31, 2023 at 10:30 PM Martin Jansa via lists.openembedded.org wrote: > * LDFLAGS += "-fuse-ld=bfd" in the recipe doesn't work and > it still fails to build with ld-is-gold in DISTRO_FEATURES > > removal of this line sent to master in: > https:/

[OE-core] [PATCHv2] cross-localedef-native: fix build on hosts with older glibc

2023-08-17 Thread Martin Jansa
operator before token "(" 85 | #if __GNUC_PREREQ (4, 3) || __glibc_has_attribute (__cold__) | ^ Only commit included: e0eca29 cdefs.h: define __glibc_has_attribute Signed-off-by: Martin Jansa --- meta/recipes-core/g

Re: [OE-core] [PATCH] cross-localedef-native: fix build on hosts with older glibc

2023-08-17 Thread Martin Jansa
Khem already merged this, so I'll send v2 with just SRCREV bump shortly. On Thu, Aug 17, 2023 at 11:10 AM Martin Jansa via lists.openembedded.org wrote: > Older glibc on host might be missing __glibc_has_attribute added in > glibc-2.34 with: > > > https://sourceware.org/g

[OE-core] [PATCH] tcl: prevent installing another copy of tzdata

2023-08-17 Thread Martin Jansa
MSG_RESULT([supplied by Tcl]) INSTALL_TZDATA=install-tzdata fi Signed-off-by: Martin Jansa --- meta/recipes-devtools/tcltk/tcl_8.6.13.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb b/meta/recipes-devtools/tcltk/tcl_8.6.13.bb index 91

[OE-core] [PATCH] cross-localedef-native: fix build on hosts with older glibc

2023-08-17 Thread Martin Jansa
operator before token "(" 85 | #if __GNUC_PREREQ (4, 3) || __glibc_has_attribute (__cold__) | ^ Signed-off-by: Martin Jansa --- .../glibc/cross-localedef-native_2.38.bb | 1 + ...cdefs.h-define-__glibc_has_attribute.

[OE-core] [kirkstone][PATCH] npm.bbclass: avoid DeprecationWarning with new python

2023-08-02 Thread Martin Jansa
meta/classes-recipe/npm.bbclass:85: DeprecationWarning: invalid escape sequence '\.' '--transform', 's,^\./,package/,', Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- meta/classes/npm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes

Re: [OE-Core][PATCH v11][master-next 1/5] package_ipk.bbclass: add support for ACLs and xattr

2023-08-01 Thread Martin Jansa
Just FYI: Not sure if it's still relevant, but last time I was comparing some posix archives from different host OSes there were some differences other than timestamps I believe, this was 2.5 years ago showing differences between tar 1.29 on ubuntu 18.04 and 1.33 on tumbleweed:

[OE-core] [PATCH] alsa-utils: backport a fix to build with glibc-2.38

2023-08-01 Thread Martin Jansa
Signed-off-by: Martin Jansa --- ...dd-define-to-compile-with-glibc-2.38.patch | 39 +++ .../alsa/alsa-utils_1.2.9.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-multimedia/alsa/alsa-utils/0001-alsactl-add-define-to-compile

Re: [OE-core] [PATCH 1/3] glibc: Upgrade to 2.38 release

2023-08-01 Thread Martin Jansa
alsa-utils fails to build with this, will send backport of https://github.com/alsa-project/alsa-utils/commit/d6a71bfbde9e1710743d3a446c6ea3b41c45234e shortly. On Tue, Aug 1, 2023 at 5:27 AM Khem Raj wrote: > Announcement - > https://mail.gnu.org/archive/html/info-gnu/2023-07/msg00010.html > >

[OE-core] [kirkstone][PATCH] efivar: backport 5 patches to fix build with gold

2023-07-31 Thread Martin Jansa
commit/?id=4df808c616f847d90203582fd950a49bb8360dd0 which brings 23 commits, but instead of adding 5 more patches allows to remove 5 Signed-off-by: Martin Jansa --- ...ve-deprecated-add-needed-linker-flag.patch | 45 +++ ...002-Add-T-workaround-for-GNU-ld-2.36.patch | 33 +++ ...LL-C-to-force-English-o

[OE-core] [PATCH] efivar: drop -fuse-ld=bfd

2023-07-31 Thread Martin Jansa
; https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0 Signed-off-by: Martin Jansa --- meta/recipes-bsp/efivar/efivar_38.bb | 4 1 file changed, 4 deletions(-) diff --git a/meta/recipes-bsp/efivar/efivar_38.bb b/meta/recipes-bsp/efivar/efivar_38.bb index

[OE-core] [PATCH] patchelf: add 3 fixes to optimize and fix uninative

2023-07-31 Thread Martin Jansa
release): https://lists.openembedded.org/g/openembedded-core/message/183314 Signed-off-by: Martin Jansa --- ...-Set-interpreter-only-when-necessary.patch | 31 ++ ...t-with-p_align-instead-of-pagesize-f.patch | 42 +++ ...t-extensions-based-on-p_align-instea.patch | 32

[OE-core] [kirkstone][PATCH] libxcrypt: fix build with perl-5.38 and use master branch

2023-07-26 Thread Martin Jansa
tps://git.openembedded.org/openembedded-core/commit/?id=d18e89bd2b46c6e266cc39dbe9fdb6c032f5f1fe Signed-off-by: Martin Jansa --- ...ommon.pm-compatible-with-latest-perl.patch | 50 +++ ...ve-smartmatch-usage-from-gen-crypt-h.patch | 62 +++ meta/recipes-core/libxcrypt/libxcrypt.

Re: [OE-core] dunfell: poky 3.1.27 - full linux-firmware always in image

2023-07-25 Thread Martin Jansa
firmware" -> "linux-firmware-qcom-vpu-2.0" [style=dotted] > "linux-firmware" -> "linux-firmware-qcom-yamato-license" [style=dotted] > "linux-firmware" -> "linux-firmware-radeon-license" [style=dotted] > "linux-firmware&quo

Re: [OE-core] dunfell: poky 3.1.27 - full linux-firmware always in image

2023-07-25 Thread Martin Jansa
now figure out what depends on linux-firmware from your image grep linux-firmware buildhistory/images/your-machine/your-libc/your-image/depends.dot and then git log will help you with the rest (FWIW: I don't see linux-firmware in our dunfell images). On Tue, Jul 25, 2023 at 2:01 PM Andreas Rehn

Re: [OE-core] [RFT][PATCH] binutils: Upgrade to 2.41 release

2023-07-25 Thread Martin Jansa
On Tue, Jul 25, 2023 at 8:53 AM Khem Raj wrote: > Detailed changes [1] > > [1] https://sourceware.org/pipermail/binutils/2023-August/122246.html Release announcement from future? Now we know your secret! :). -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group.

Re: [OE-core] [meta-oe][PATCH] bitwise: Upgrade 0.43 -> 0.50

2023-07-22 Thread Martin Jansa
Patches for meta-oe need to be sent to openembedded-devel ML not openembedded-core (see README file and I recommend to set the recipients for each repository with "git config sendemail.to" so that you don't need to update --to argument when sending patches). On Sat, Jul 22, 2023 at 8:07 AM Ramon

Re: [OE-core] kirkstone boost upgrade?

2023-07-21 Thread Martin Jansa
For this purpose @LGE we're using meta-webos-backports layers for various backports we need as in: https://github.com/webosose/meta-webosose/tree/master/meta-webos-backports https://github.com/webosose/meta-webosose/commits/master/meta-webos-backports So we can easily just drop the layers

Re: [OE-core] [RFC PATCH 0/4] Bump Protobuf/gRPC

2023-07-20 Thread Martin Jansa
These patches should be sent to openembedded-devel not openembedded-core. > ERROR: abseil-cpp-20230125.3-r0 do_package: Variable Requires: absl_config = 20230125, absl_core_headers = 20230125, absl_log_internal_append_truncated = 20230125, absl_log_internal_config = 20230125,

Re: [OE-core][mickledore 26/26] image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

2023-07-17 Thread Martin Jansa
This isn't backwards compatible and various BSP might need small adjustment to work correctly with this. Please don't backport this one. On Sat, Jul 15, 2023 at 12:34 AM Steve Sakoman wrote: > From: Martin Jansa > > * ${IMAGE_NAME}${IMAGE_NAME_SUFFIX} is almost always used togethe

Re: [OE-core] [kirkstone][PATCH v2] rust-llvm: backport a fix for build with gcc-13

2023-07-11 Thread Martin Jansa
t; > > new file mode 100644 > > > index 00..6ed23aa9c5 > > > --- /dev/null > > > +++ > b/meta/recipes-devtools/rust/rust-llvm/0003-Support-Add-missing-cstdint-header-to-Signals.h.patch > > > @@ -0,0 +1,32 @@ > > > +From a94bf34221fc4519bd

Re: [OE-core] [mickledore][PATCH] systemd: fix a dead link under /var/log

2023-07-05 Thread Martin Jansa
This was merged in mickledore recently, but isn't the same needed for master branch where it was rejected with alternative fix proposed by RP? On Thu, Jun 29, 2023 at 11:12 AM Changqing Li < changqing...@eng.windriver.com> wrote: > From: Changqing Li > > Commit 6fe23ff31c0 changed README to a

[OE-core] [PATCHv2] cpio: respect MLPREFIX for PACKAGE_WRITE_DEPS

2023-07-01 Thread Martin Jansa
e requires it) Signed-off-by: Martin Jansa --- meta/recipes-extended/cpio/cpio_2.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/cpio/cpio_2.14.bb b/meta/recipes-extended/cpio/cpio_2.14.bb index e55fb70cb1..45eb9de8e0 100644 --- a/meta/recipes-ext

Re: [OE-core] [PATCH] uninative: call patchelf-uninative only when needed

2023-06-28 Thread Martin Jansa
On Fri, Jun 23, 2023 at 12:18 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2023-06-23 at 11:33 +0200, Martin Jansa wrote: > > mke2fs.real, mkfs.ext2.real, mkfs.ext3.real, mkfs.ext4.real are > indentical > > binary with multiple hardlinks and

[OE-core] [PATCH] uninative: call patchelf-uninative only when needed

2023-06-23 Thread Martin Jansa
fix later, until then this change fixes the mkfs.ext4 issues I was seeing in kirkstone, mickledore, nanbield since uninative-3.9 upgrade, as reported in: https://lists.openembedded.org/g/openembedded-core/message/182862 Signed-off-by: Martin Jansa --- meta/classes-global/uninative.bbclass | 11

Re: [OE-core] [PATCH 2/2] insane: Improve patch-status layer filtering

2023-06-21 Thread Martin Jansa
There is maybe unexpected change in behavior caused by this. Before it was triggering error only for .patch files in oe-core, while now it seems to apply for all recipes from oe-core layer (independently from where the .patch file was added), so e.g. meta-raspberrypi is now causing bluez5

Re: mkfs.ext4 segfaults with uninative-4.0 Was: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-15 Thread Martin Jansa
Well, after typing all of that I've realized that it might be related to: https://github.com/NixOS/patchelf/issues/244 as we had similar issue before: https://git.openembedded.org/openembedded-core/commit/?id=cccd4bcaf381c2729adc000381bd89906003e72a On Thu, Jun 15, 2023 at 5:06 PM Martin Jansa

mkfs.ext4 segfaults with uninative-4.0 Was: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-15 Thread Martin Jansa
On Sun, Jun 4, 2023 at 10:34 PM Martin Jansa wrote: > > It might be useful to delay backporting this for a bit longer (and I'll > soon confirm if 3.10 was already affected or not). > > I can confirm that 3.10 is also affected. > > I did build with > https://git.openembedd

Re: [OE-core] [PATCH] rootfs-postcommands: Set vardeps for write_image_test_data

2023-06-13 Thread Martin Jansa
On Tue, Jun 13, 2023 at 1:33 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Tue, 2023-06-13 at 10:55 +0100, Peter Hoyes wrote: > > On 23/05/2023 18:06, Ross Burton wrote: > > > On 17 May 2023, at 17:29, Peter Hoyes via lists.openembedded.org > > > wrote: > > > > The

[OE-core] [PATCH] libstd-rs, rust: use bfd linker instead of gold

2023-06-12 Thread Martin Jansa
* it started to fail only after the upgrade to 1.70.0 Signed-off-by: Martin Jansa --- meta/recipes-devtools/rust/libstd-rs_1.70.0.bb | 5 + meta/recipes-devtools/rust/rust_1.70.0.bb | 5 + 2 files changed, 10 insertions(+) diff --git a/meta/recipes-devtools/rust/libstd-rs_1.70.0

[OE-core] [resend][PATCH 2/3] image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

2023-06-12 Thread Martin Jansa
ub 39479261 -rw-r--r-- 2 martin martin 8.2M Mar 7 12:27 modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tgz 39479263 lrwxrwxrwx 2 martin martin 77 Mar 7 12:27 modules-qemux86-64.tgz -> modules--6.1.14+git0+e8d08fc4c0_b05ca3429c-r0.0-qemux86-64-20230307112110.tg

[OE-core] [resend][PATCH 3/3] kernel-devicetree: install dtb files without -${KERNEL_DTB_NAME} suffix

2023-06-12 Thread Martin Jansa
2937] where version specific *_LINK_NAME links are created as hardlinks in separate do_deploy_links task. [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/classes-recipe/kernel-devicetree.bbclass | 28 --- 1 file changed, 18 insertions(+), 10 deletions(-) diff --gi

[OE-core] [resend][PATCH 1/3] selftest: multiconfig-image-packager: try to respect IMAGE_LINK_NAME

2023-06-12 Thread Martin Jansa
-minimal's context, but this is still closer than assuming: core-image-minimal-${MCMACHINE}.${MCIMGTYPE} which works only with the current default: IMAGE_LINK_NAME ?= "${IMAGE_BASENAME}-${MACHINE}" [YOCTO #12937] Signed-off-by: Martin Jansa Signed-off-by: Alexandre Belloni --- .../m

Re: [OE-core] [PATCH 1/2] image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

2023-06-12 Thread Martin Jansa
On Sat, May 27, 2023 at 7:21 AM Martin Jansa via lists.openembedded.org wrote: > On Fri, May 26, 2023 at 8:09 PM Alexandre Belloni < > alexandre.bell...@bootlin.com> wrote: > >> Hello, >> >> The series causes oe-selftest failures: >> >> >> http

Re: [OE-core] [PATCH v6] qemu: Split the qemu package

2023-06-08 Thread Martin Jansa
On Fri, Jun 9, 2023 at 5:04 AM Yu, Mingli wrote: > +if userpackages: > +d.setVar('RDEPENDS:' + d.getVar('PN') + '-user-all', ' > '.join(userpackages)) > +mipspackage = d.getVar('PN') + "-user-mips" > +if mipspackage in ' '.join(userpackages): > +

Re: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-08 Thread Martin Jansa
Hi Steve, I still didn't get shell access to those builders, feel free to merge it as is. Hopefully other people don't have so outdated build infrastructure :). Regards, On Thu, Jun 8, 2023 at 8:50 PM Steve Sakoman wrote: > On Sun, Jun 4, 2023 at 10:34 AM Martin Jansa >

Re: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-04 Thread Martin Jansa
0.6 with kirkstone yet, so that one might be only with nanbield, but mkfs.ext4 segfaults seem related to uninative for sure. Will debug more when I get access. Cheers, On Sun, Jun 4, 2023 at 9:14 PM Steve Sakoman wrote: > On Sun, Jun 4, 2023 at 7:39 AM Martin Jansa > wrote: &

Re: [OE-core][mickledore 13/13] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-06-04 Thread Martin Jansa
Hi, it looks like this change is causing mkfs.ext4 to segfault on some builders. I'm seeing it on ubuntu-18.04 (I know it's unsupported now). It might be related to older docker or libseccomp2 there, because there is similar issue with gdk-pixbuf-native which fails when buildtools-extended is

Re: [OE-core][PATCH] uninative: Upgrade to 4.0 to include latest gcc 13.1.1

2023-05-29 Thread Martin Jansa
Works on gentoo with 13.1.1_p20230520 which was failing before and seems to work with 13.1.1_p20230527 as well (I did only a few builds since upgrade this morning). Thanks Tested-By: Martin Jansa On Mon, May 29, 2023 at 1:04 AM Michael Halstead < mhalst...@linuxfoundation.org> wrote: &g

Re: [OE-core][PATCH] sqlite3: Whitelist CVE-2022-21227

2023-05-29 Thread Martin Jansa
The patch author seems a bit mangled by ML, see: author schitrod=cisco@lists.openembedded.org 2023-05-27 22:52:52 -0700 https://git.openembedded.org/openembedded-core/commit/?h=master-next=5f15caa526bb57070b9abb9ba2f488ee1bfb5372 Is it correct? On Sun, May 28, 2023 at 7:53 AM Sanjaykumar

Re: [OE-core] [PATCH] gcc: Upgrade to 13.1.1

2023-05-28 Thread Martin Jansa
it > > > > [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 > > > > Reported-by: Martin Jansa > > Signed-off-by: Khem Raj > > Cc: Martin Jansa > > --- > > meta/conf/distro/include/maintainers.inc | 2 +- > > meta/recipes-devtools

[OE-core] [mickledore][PATCH] populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner

2023-05-28 Thread Martin Jansa
n the same TMPDIR before the image, do_rootfs then fails to find it, if the package manager config doesn't have 64-bit feed enabled: opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner' Signed-off-by: Martin Jansa Signed-off-by: Alexandre Belloni --- meta/clas

[OE-core] [PATCH] connman: backport a fix for build with pppd-2.5.0

2023-05-27 Thread Martin Jansa
* pppd was upgraded in: https://git.openembedded.org/openembedded-core/commit/?id=5512bf4dfd299b8d5d474d9f26c2146b3e53514a * connman fails to build with pptp or l2tp PACKAGECONFIG is enabled Signed-off-by: Martin Jansa --- ...upport-for-latest-pppd-2.5.0-release.patch | 274

[OE-core] [PATCH] selftest: wic.py respect IMAGE_LINK_NAME

2023-05-26 Thread Martin Jansa
* use IMAGE_LINK_NAME instead of hardcoding core-image-minimal-${MACHINE} assumption [YOCTO #12937] Signed-off-by: Martin Jansa --- meta/lib/oeqa/selftest/cases/wic.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib

Re: [OE-core] [PATCH 1/2] image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}

2023-05-26 Thread Martin Jansa
/selftest/cases/wic.py", > line 1362, in test_gpt_partition_name > self.assertTrue(os.path.exists(image_path)) > File "/usr/lib64/python3.10/unittest/case.py", line 687, in assertTrue > raise self.failureException(msg) > AssertionError: False is not true > &g

Re: [OE-core] [PATCH] gcc: Upgrade to 13.1.1

2023-05-26 Thread Martin Jansa
:58,397 - oe-selftest - INFO - oe-selftest () - Ran 528 tests in 15220.973s 2023-05-27 03:41:58,397 - oe-selftest - INFO - oe-selftest - FAIL - Required tests failed (successes=519, skipped=7, failures=2, errors=0) Tested-by: Martin Jansa On Sat, May 27, 2023 at 4:21 AM Khem Raj wrote: > S

Re: [OE-core] cmake-native build failure on fedora38

2023-05-26 Thread Martin Jansa
make sure to keep your host gcc older than that or prepare your own uninative tarball with gcc recipes upgraded even more. On Mon, May 22, 2023 at 7:39 AM Martin Jansa via lists.openembedded.org wrote: > FWIW: I've built my own uninative tarballs with khem's gcc-13 reviews and > it's wo

Re: [OE-core] gcc 13 merged, meta-arm, meta-intel and meta-virt issues

2023-05-26 Thread Martin Jansa
On Fri, May 26, 2023 at 6:28 PM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > I just wanted to let people know I merged gcc 13 since I think we'd got > as far as we were going to without the patches landing. I dropped the > 5.15 kernel and found ways to fix lttng-tools and

Re: [OE-core] [PATCH 1/6] libx11: remove unused patch and FILESEXTRAPATHS

2023-05-24 Thread Martin Jansa
Do you have a script to find these patches? Can we get it added to > oe-core? :) > > Ross > > > On 24 May 2023, at 08:53, Martin Jansa via lists.openembedded.org > wrote: > > > > * 0001-fix-a-memory-leak-in-XRegisterIMInstantiateCallback.patch was > re

Re: [OE-core] [PATCH 6/7] python3-pygobject: mandate gobject-introspection-data DISTRO_FEATURE

2023-05-24 Thread Martin Jansa
Ross, are you going to add REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" to these as well? ERROR: Nothing PROVIDES 'python3-pygobject' (but meta-oe/meta-networking/recipes-connectivity/blueman/blueman_2.3.5.bb DEPENDS on or otherwise requires it) python3-pygobject was skipped: missing

[OE-core] [PATCH] cpio: respect MLPREFIX for PACKAGE_WRITE_DEPS

2023-05-24 Thread Martin Jansa
* unlike DEPENDS/RDEPENDS the PACKAGE_WRITE_DEPS dependency isn't automatically extended with MLPREFIX, causing lib32-cpio to depend on 64bit ptest-runner (and all its deps) Signed-off-by: Martin Jansa --- meta/recipes-extended/cpio/cpio_2.14.bb | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 3/6] minicom: remove unused patch files

2023-05-24 Thread Martin Jansa
* they were removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57 Signed-off-by: Martin Jansa --- ...erfluous-global-variable-definitions.patch | 35 ...erfluous-global-variable-definitions.patch | 37

[OE-core] [PATCH 5/6] libgloss: remove unused patch file

2023-05-24 Thread Martin Jansa
* it was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=1c9cbb27dfe37ca4574c4285fb03ce394dee5ed1 Signed-off-by: Martin Jansa --- .../libgloss/fix_makefile_include_arm_h.patch | 30 --- 1 file changed, 30 deletions(-) delete mode 100644

[OE-core] [PATCH 6/6] kmod: remove unused ptest.patch

2023-05-24 Thread Martin Jansa
* it was removed from SRC_URI in 2015: https://git.openembedded.org/openembedded-core/commit/?id=f80d136bdd578468035a88125fa1b84973fd912b Signed-off-by: Martin Jansa --- meta/recipes-kernel/kmod/kmod/ptest.patch | 25 --- 1 file changed, 25 deletions(-) delete mode

[OE-core] [PATCH 2/6] qemu: remove unused qemu-7.0.0-glibc-2.36.patch

2023-05-24 Thread Martin Jansa
* it was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=e94d182889ca3c02df913c59f0b66b228ffe588c Signed-off-by: Martin Jansa --- .../qemu/qemu/qemu-7.0.0-glibc-2.36.patch | 46 --- 1 file changed, 46 deletions(-) delete mode 100644

[OE-core] [PATCH 4/6] inetutils: remove unused patch files

2023-05-24 Thread Martin Jansa
* they were removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=a21e8fdf1b66961ddae5929d393daa08800bb748 Signed-off-by: Martin Jansa --- ...-multiple-definitions-of-errcatch-an.patch | 58 --- .../inetutils/fix-buffer-fortify-tfpt.patch | 25

[OE-core] [PATCH 1/6] libx11: remove unused patch and FILESEXTRAPATHS

2023-05-24 Thread Martin Jansa
* 0001-fix-a-memory-leak-in-XRegisterIMInstantiateCallback.patch was removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=e13f651f73db0f26f4645447ab5fa17e36d1903b Signed-off-by: Martin Jansa --- ...ak-in-XRegisterIMInstantiateCallback.patch | 57

[OE-core] [PATCH] rpm: drop unused 0001-Rip-out-partial-support-for-unused-MD2-and-RIPEMD160.patch

2023-05-23 Thread Martin Jansa
* it was removed from SRC_URI in oe-core commit: commit 67257ca87c6fa8e6050a20ecea50daf834c7e869 Author: Alexander Kanavin Date: Sat Apr 25 19:28:00 2020 +0200 Subject: rpm: upgrade to 4.15.1 and it's unused since then Signed-off-by: Martin Jansa --- ...support-for-unused-MD2

Re: [OE-core] cmake-native build failure on fedora38

2023-05-21 Thread Martin Jansa
FWIW: I've built my own uninative tarballs with khem's gcc-13 reviews and it's working fine for me since March and I'm using the same for kirkstone builds now which were just missing small fixes for llvm, nodejs, abseil-cpp to build my LuneOS images with gcc-13 on host (all 3 fixes sent to ML last

[OE-core] [kirkstone][PATCH] llvm: backport a fix for build with gcc-13

2023-05-18 Thread Martin Jansa
* needed for llvm-native on hosts with gcc-13 Signed-off-by: Martin Jansa --- ...-missing-cstdint-header-to-Signals.h.patch | 31 +++ meta/recipes-devtools/llvm/llvm_git.bb| 1 + 2 files changed, 32 insertions(+) create mode 100644 meta/recipes-devtools/llvm/llvm/0001

[OE-core] [PATCH 2/2] image-live.bbclass: respect IMAGE_MACHINE_SUFFIX

2023-05-15 Thread Martin Jansa
/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.build_hddimg.2001892', 1, None, None) when IMAGE_MACHINE_SUFFIX is set to empty in local.conf Signed-off-by: Martin Jansa --- meta/classes-recipe/image-live.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

[OE-core] [PATCH 1/2] go.bbclass: don't use test to check output from ls

2023-05-15 Thread Martin Jansa
* avoids possibly confusing error message in log.do_install like: ls: cannot access 'etcd/3.5.7-r0/build/bin/linux_arm64/': No such file or directory Signed-off-by: Martin Jansa --- meta/classes-recipe/go.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

Re: [OE-core][PATCH v5 1/6] gobject-introspection: reduce dependencies

2023-05-15 Thread Martin Jansa
On Mon, Apr 3, 2023 at 1:08 PM Petr Kubizňák wrote: > When GI_DATA_ENABLED is 'False' (e.g. because > 'gobject-introspection-data' is not in DISTRO_FEATURES), > gobject-introspection, gobject-introspection-native and qemu-native > should not be added to DEPENDS. This is to reduce dependency

Re: [OE-core] [PATCH 09/14] image-artifact-names: add IMAGE_MACHINE_SUFFIX variable

2023-05-11 Thread Martin Jansa
, Apr 19, 2023 at 12:43 AM Paul Eggleton < bluelightn...@bluelightning.org> wrote: > Hi Martin > > On Tuesday, 14 March 2023 01:15:36 NZST Martin Jansa wrote: > > * to make it easier for projects to avoid default -${MACHINE} suffix if > > the ${MACHINE} named DEPLOY

[OE-core] [PATCH] populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner

2023-05-10 Thread Martin Jansa
n the same TMPDIR before the image, do_rootfs then fails to find it, if the package manager config doesn't have 64-bit feed enabled: opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner' Signed-off-by: Martin Jansa --- meta/classes-recipe/populate_sdk_base.bbclass

Re: [OE-core][PATCH] kernel-devicetree: allow specification of dtb directory

2023-05-07 Thread Martin Jansa
; >if [ "${KERNEL_DTBVENDORED}" = false ]; then > > > > (In this case it is actually a bitbake variable being quoted, but unless > you can guarantee it is not empty, the same rule applies.) > > > > //Peter > > > > *From:* openembedded-core@lists.openembedded.o

<    1   2   3   4   5   6   7   8   9   10   >