* [PATCH] bitbake.conf: require lz4 instead of lz4c @ 2024-11-05 15:37 Justin Bronder 2024-11-06 7:50 ` [OE-core] " Richard Purdie 0 siblings, 1 reply; 14+ messages in thread From: Justin Bronder @ 2024-11-05 15:37 UTC (permalink / raw) To: openembedded-core; +Cc: Justin Bronder With bitbake commit 'bb: compress: use lz4 instead of lz4c' we require lz4, not lz4c [1]. Going as far back as Ubuntu 16.04/Fedora 25, they are packaged together so it should be safe to simply adjust the requirement from lz4c to lz4. Note that the two are largely the same, but upstream has considered lz4c deprecated since at least 2018 [2]. 1. https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c 2. https://github.com/lz4/lz4/pull/553 Signed-off-by: Justin Bronder <jsbronder@cold-front.org> --- 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 eda505c861..14e761e2e7 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -517,7 +517,7 @@ HOSTTOOLS += " \ [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \ cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \ fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \ - head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \ + head hostname iconv id install ld ldd ln ls lz4 make md5sum mkdir mkfifo mknod \ mktemp mv nm objcopy objdump od patch perl pr printf pwd \ python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \ sha1sum sha224sum sha256sum sha384sum sha512sum \ -- 2.46.1 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [OE-core] [PATCH] bitbake.conf: require lz4 instead of lz4c 2024-11-05 15:37 [PATCH] bitbake.conf: require lz4 instead of lz4c Justin Bronder @ 2024-11-06 7:50 ` Richard Purdie 2024-11-06 15:52 ` Justin Bronder 0 siblings, 1 reply; 14+ messages in thread From: Richard Purdie @ 2024-11-06 7:50 UTC (permalink / raw) To: jsbronder, openembedded-core; +Cc: Enrico Jorns On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via lists.openembedded.org wrote: > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we require > lz4, not lz4c [1]. Going as far back as Ubuntu 16.04/Fedora 25, they > are packaged together so it should be safe to simply adjust the > requirement from lz4c to lz4. > > Note that the two are largely the same, but upstream has considered lz4c > deprecated since at least 2018 [2]. > > 1. https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > 2. https://github.com/lz4/lz4/pull/553 > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > --- > 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 eda505c861..14e761e2e7 100644 > --- a/meta/conf/bitbake.conf > +++ b/meta/conf/bitbake.conf > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \ > cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \ > fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \ > - head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \ > + head hostname iconv id install ld ldd ln ls lz4 make md5sum mkdir mkfifo mknod \ > mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \ > sha1sum sha224sum sha256sum sha384sum sha512sum \ > This caused a failure in barebox: https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio Cheers, Richard ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-06 7:50 ` [OE-core] " Richard Purdie @ 2024-11-06 15:52 ` Justin Bronder 2024-11-06 16:01 ` Richard Purdie 2024-11-06 16:03 ` [OE-core] " Alexander Kanavin 0 siblings, 2 replies; 14+ messages in thread From: Justin Bronder @ 2024-11-06 15:52 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core, Enrico Jorns On 06/11/24 07:50 +0000, Richard Purdie wrote: > On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via lists.openembedded.org wrote: > > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we require > > lz4, not lz4c [1].� Going as far back as Ubuntu 16.04/Fedora 25, they > > are packaged together so it should be safe to simply adjust the > > requirement from lz4c to lz4. > > > > Note that the two are largely the same, but upstream has considered lz4c > > deprecated since at least 2018 [2]. > > > > 1. https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > > 2. https://github.com/lz4/lz4/pull/553 > > > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > > --- > > �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 eda505c861..14e761e2e7 100644 > > --- a/meta/conf/bitbake.conf > > +++ b/meta/conf/bitbake.conf > > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > > ���� [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio \ > > ���� cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \ > > ���� fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \ > > -��� head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \ > > +��� head hostname iconv id install ld ldd ln ls lz4 make md5sum mkdir mkfifo mknod \ > > ���� mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > > ���� python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \ > > ���� sha1sum sha224sum sha256sum sha384sum sha512sum \ > > > > This caused a failure in barebox: > > https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio > I see, sorry about that. What would be the recommended path forward? - Add lz4c to HOSTTOOLS_NONFATAL so it's still symlinked. This would fix barebox and any other recipes that still depend on lz4c on distributions where lz4c is still packaged but leave others without an early warning system. - Submit patches to barebox and others to use lz4 instead of lz4c. This is probably more correct but will leave Tumbleweed unsupported by default with other distros to presumably follow. - Convince Tumbleweed (and others) to continue packaging lz4c. -- Justin Bronder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-06 15:52 ` Justin Bronder @ 2024-11-06 16:01 ` Richard Purdie 2024-11-06 18:10 ` Justin Bronder 2024-11-06 16:03 ` [OE-core] " Alexander Kanavin 1 sibling, 1 reply; 14+ messages in thread From: Richard Purdie @ 2024-11-06 16:01 UTC (permalink / raw) To: Justin Bronder; +Cc: openembedded-core, Enrico Jorns On Wed, 2024-11-06 at 10:52 -0500, Justin Bronder wrote: > On 06/11/24 07:50 +0000, Richard Purdie wrote: > > On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via > > lists.openembedded.org wrote: > > > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we > > > require > > > lz4, not lz4c [1]. Going as far back as Ubuntu 16.04/Fedora 25, > > > they > > > are packaged together so it should be safe to simply adjust the > > > requirement from lz4c to lz4. > > > > > > Note that the two are largely the same, but upstream has > > > considered lz4c > > > deprecated since at least 2018 [2]. > > > > > > 1. > > > https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > > > 2. https://github.com/lz4/lz4/pull/553 > > > > > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > > > --- > > > 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 eda505c861..14e761e2e7 100644 > > > --- a/meta/conf/bitbake.conf > > > +++ b/meta/conf/bitbake.conf > > > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > > > [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod > > > chown chrpath cmp comm cp cpio \ > > > cpp cut date dd diff diffstat dirname du echo egrep env > > > expand expr false \ > > > fgrep file find flock g++ gawk gcc getconf getopt git grep > > > gunzip gzip \ > > > - head hostname iconv id install ld ldd ln ls lz4c make md5sum > > > mkdir mkfifo mknod \ > > > + head hostname iconv id install ld ldd ln ls lz4 make md5sum > > > mkdir mkfifo mknod \ > > > mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > > > python3 pzstd ranlib readelf readlink realpath rm rmdir > > > rpcgen sed seq sh \ > > > sha1sum sha224sum sha256sum sha384sum sha512sum \ > > > > > > > This caused a failure in barebox: > > > > https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio > > > > I see, sorry about that. > > What would be the recommended path forward? > > - Add lz4c to HOSTTOOLS_NONFATAL so it's still symlinked. This would > fix barebox and any other recipes that still depend on lz4c on > distributions where lz4c is still packaged but leave others without > an early warning system. > - Submit patches to barebox and others to use lz4 instead of lz4c. > This is probably more correct but will leave Tumbleweed unsupported > by default with other distros to presumably follow. barebox only recently merged so I think it should be fine to see if we can switch barebox to use lz4. How would that leave Tumbleweed supported? Cheers, Richard ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-06 16:01 ` Richard Purdie @ 2024-11-06 18:10 ` Justin Bronder 0 siblings, 0 replies; 14+ messages in thread From: Justin Bronder @ 2024-11-06 18:10 UTC (permalink / raw) To: Richard Purdie; +Cc: openembedded-core, Enrico Jorns On 06/11/24 16:01 +0000, Richard Purdie wrote: > On Wed, 2024-11-06 at 10:52 -0500, Justin Bronder wrote: > > On 06/11/24 07:50 +0000, Richard Purdie wrote: > > > On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via > > > lists.openembedded.org wrote: > > > > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we > > > > require > > > > lz4, not lz4c [1].� Going as far back as Ubuntu 16.04/Fedora 25, > > > > they > > > > are packaged together so it should be safe to simply adjust the > > > > requirement from lz4c to lz4. > > > > > > > > Note that the two are largely the same, but upstream has > > > > considered lz4c > > > > deprecated since at least 2018 [2]. > > > > > > > > 1. > > > > https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > > > > 2. https://github.com/lz4/lz4/pull/553 > > > > > > > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > > > > --- > > > > �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 eda505c861..14e761e2e7 100644 > > > > --- a/meta/conf/bitbake.conf > > > > +++ b/meta/conf/bitbake.conf > > > > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > > > > ���� [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod > > > > chown chrpath cmp comm cp cpio \ > > > > ���� cpp cut date dd diff diffstat dirname du echo egrep env > > > > expand expr false \ > > > > ���� fgrep file find flock g++ gawk gcc getconf getopt git grep > > > > gunzip gzip \ > > > > -��� head hostname iconv id install ld ldd ln ls lz4c make md5sum > > > > mkdir mkfifo mknod \ > > > > +��� head hostname iconv id install ld ldd ln ls lz4 make md5sum > > > > mkdir mkfifo mknod \ > > > > ���� mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > > > > ���� python3 pzstd ranlib readelf readlink realpath rm rmdir > > > > rpcgen sed seq sh \ > > > > ���� sha1sum sha224sum sha256sum sha384sum sha512sum \ > > > > > > > > > > This caused a failure in barebox: > > > > > > https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio > > > > > > > I see, sorry about that. > > > > What would be the recommended path forward? > > > > - Add lz4c to HOSTTOOLS_NONFATAL so it's still symlinked.� This would > > fix barebox and any other recipes that still depend on lz4c on > > distributions where lz4c is still packaged but leave others without > > an early warning system. > > - Submit patches to barebox and others to use lz4 instead of lz4c.� > > This is probably more correct but will leave Tumbleweed unsupported > > by default with other distros to presumably follow. > > barebox only recently merged so I think it should be fine to see if we > can switch barebox to use lz4. How would that leave Tumbleweed > supported? Ok, I've submitted a quite simple patch to barebox upstream and I'll resubmit this along with that patch. Pending other recipes requiring lz4c, that will fix things for Tumbleweed. -- Justin Bronder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [OE-core] bitbake.conf: require lz4 instead of lz4c 2024-11-06 15:52 ` Justin Bronder 2024-11-06 16:01 ` Richard Purdie @ 2024-11-06 16:03 ` Alexander Kanavin 2024-11-12 13:20 ` Enrico Jörns 1 sibling, 1 reply; 14+ messages in thread From: Alexander Kanavin @ 2024-11-06 16:03 UTC (permalink / raw) To: jsbronder; +Cc: Richard Purdie, openembedded-core, Enrico Jorns [-- Attachment #1: Type: text/plain, Size: 3263 bytes --] Can we rather make the affected recipe depend on the native tool rather than the host one? And pls file a ticket with barebox upstream or maybe the maintainer can respond right here. Alex On Wed 6. Nov 2024 at 16.52, Justin Bronder via lists.openembedded.org <jsbronder=cold-front.org@lists.openembedded.org> wrote: > On 06/11/24 07:50 +0000, Richard Purdie wrote: > > On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via > lists.openembedded.org wrote: > > > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we require > > > lz4, not lz4c [1]. Going as far back as Ubuntu 16.04/Fedora 25, they > > > are packaged together so it should be safe to simply adjust the > > > requirement from lz4c to lz4. > > > > > > Note that the two are largely the same, but upstream has considered > lz4c > > > deprecated since at least 2018 [2]. > > > > > > 1. > https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > > > 2. https://github.com/lz4/lz4/pull/553 > > > > > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > > > --- > > > 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 eda505c861..14e761e2e7 100644 > > > --- a/meta/conf/bitbake.conf > > > +++ b/meta/conf/bitbake.conf > > > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > > > [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown > chrpath cmp comm cp cpio \ > > > cpp cut date dd diff diffstat dirname du echo egrep env expand > expr false \ > > > fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip > gzip \ > > > - head hostname iconv id install ld ldd ln ls lz4c make md5sum > mkdir mkfifo mknod \ > > > + head hostname iconv id install ld ldd ln ls lz4 make md5sum mkdir > mkfifo mknod \ > > > mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > > > python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen > sed seq sh \ > > > sha1sum sha224sum sha256sum sha384sum sha512sum \ > > > > > > > This caused a failure in barebox: > > > > > https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio > > > > I see, sorry about that. > > What would be the recommended path forward? > > - Add lz4c to HOSTTOOLS_NONFATAL so it's still symlinked. This would fix > barebox and any other recipes that still depend on lz4c on distributions > where lz4c is still packaged but leave others without an early warning > system. > - Submit patches to barebox and others to use lz4 instead of lz4c. This > is probably more correct but will leave Tumbleweed unsupported by default > with other distros to presumably follow. > - Convince Tumbleweed (and others) to continue packaging lz4c. > > > -- > Justin Bronder > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#206790): > https://lists.openembedded.org/g/openembedded-core/message/206790 > Mute This Topic: https://lists.openembedded.org/mt/109427109/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > alex.kanavin@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > [-- Attachment #2: Type: text/html, Size: 5059 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [OE-core] bitbake.conf: require lz4 instead of lz4c 2024-11-06 16:03 ` [OE-core] " Alexander Kanavin @ 2024-11-12 13:20 ` Enrico Jörns 2024-11-12 13:34 ` Alexander Kanavin 0 siblings, 1 reply; 14+ messages in thread From: Enrico Jörns @ 2024-11-12 13:20 UTC (permalink / raw) To: Alexander Kanavin, jsbronder; +Cc: Richard Purdie, openembedded-core Hi Alex, Am Mittwoch, dem 06.11.2024 um 17:03 +0100 schrieb Alexander Kanavin: > Can we rather make the affected recipe depend on the native tool rather than the host one? we could and I agree this would be the more correct way. The only concern I have is that this would require adding dependencies for all potential compression methods currently supported by barebox (lz4, lzo, gzip, xz). Or I have to add some more pseudo-PACKAGECONFIG options and enable only lz4 by default. However, I fear that this would quickly result in accidentally using the host tools again. Not sure if there is local way of filtering out allowed host tools?.. > And pls file a ticket with barebox upstream or maybe the maintainer can respond right here. Thankfully, Justin already contributed the fix to barebox upstream in the meantime and as far as I can see, it was quickly merged and should thus be part of the November release. Regards, Enrico > Alex > > On Wed 6. Nov 2024 at 16.52, Justin Bronder via lists.openembedded.org > <jsbronder=cold-front.org@lists.openembedded.org> wrote: > > On 06/11/24 07:50 +0000, Richard Purdie wrote: > > > On Tue, 2024-11-05 at 10:37 -0500, Justin Bronder via lists.openembedded.org wrote: > > > > With bitbake commit 'bb: compress: use lz4 instead of lz4c' we require > > > > lz4, not lz4c [1]. Going as far back as Ubuntu 16.04/Fedora 25, they > > > > are packaged together so it should be safe to simply adjust the > > > > requirement from lz4c to lz4. > > > > > > > > Note that the two are largely the same, but upstream has considered lz4c > > > > deprecated since at least 2018 [2]. > > > > > > > > 1. https://git.openembedded.org/bitbake/commit/?id=907472034b344e4eb73cfd43059a413469f52e1c > > > > 2. https://github.com/lz4/lz4/pull/553 > > > > > > > > Signed-off-by: Justin Bronder <jsbronder@cold-front.org> > > > > --- > > > > 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 eda505c861..14e761e2e7 100644 > > > > --- a/meta/conf/bitbake.conf > > > > +++ b/meta/conf/bitbake.conf > > > > @@ -517,7 +517,7 @@ HOSTTOOLS += " \ > > > > [ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath cmp comm cp cpio > > > > \ > > > > cpp cut date dd diff diffstat dirname du echo egrep env expand expr false \ > > > > fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \ > > > > - head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir mkfifo mknod \ > > > > + head hostname iconv id install ld ldd ln ls lz4 make md5sum mkdir mkfifo mknod \ > > > > mktemp mv nm objcopy objdump od patch perl pr printf pwd \ > > > > python3 pzstd ranlib readelf readlink realpath rm rmdir rpcgen sed seq sh \ > > > > sha1sum sha224sum sha256sum sha384sum sha512sum \ > > > > > > > > > > This caused a failure in barebox: > > > > > > https://valkyrie.yoctoproject.org/#/builders/23/builds/409/steps/14/logs/stdio > > > > > > > I see, sorry about that. > > > > What would be the recommended path forward? > > > > - Add lz4c to HOSTTOOLS_NONFATAL so it's still symlinked. This would fix barebox and any other > > recipes that still depend on lz4c on distributions where lz4c is still packaged but leave others > > without an early warning system. > > - Submit patches to barebox and others to use lz4 instead of lz4c. This is probably more > > correct but will leave Tumbleweed unsupported by default with other distros to presumably > > follow. > > - Convince Tumbleweed (and others) to continue packaging lz4c. > > > > -- Pengutronix e.K. | Enrico Jörns | Embedded Linux Consulting & Support | https://www.pengutronix.de/ | Steuerwalder Str. 21 | Phone: +49-5121-206917-180 | 31137 Hildesheim, Germany | Fax: +49-5121-206917-9 | ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [OE-core] bitbake.conf: require lz4 instead of lz4c 2024-11-12 13:20 ` Enrico Jörns @ 2024-11-12 13:34 ` Alexander Kanavin 2024-11-12 13:40 ` Enrico Jörns 0 siblings, 1 reply; 14+ messages in thread From: Alexander Kanavin @ 2024-11-12 13:34 UTC (permalink / raw) To: Enrico Jörns; +Cc: jsbronder, Richard Purdie, openembedded-core On Tue, 12 Nov 2024 at 14:20, Enrico Jörns <ejo@pengutronix.de> wrote: > Thankfully, Justin already contributed the fix to barebox upstream in the meantime and as far as I > can see, it was quickly merged and should thus be part of the November release. I'd say you could resend the above patch with a barebox backport. Alex ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [OE-core] bitbake.conf: require lz4 instead of lz4c 2024-11-12 13:34 ` Alexander Kanavin @ 2024-11-12 13:40 ` Enrico Jörns 2024-11-23 15:28 ` Guðni Már Gilbert 0 siblings, 1 reply; 14+ messages in thread From: Enrico Jörns @ 2024-11-12 13:40 UTC (permalink / raw) To: Alexander Kanavin; +Cc: jsbronder, Richard Purdie, openembedded-core Am Dienstag, dem 12.11.2024 um 14:34 +0100 schrieb Alexander Kanavin: > On Tue, 12 Nov 2024 at 14:20, Enrico Jörns <ejo@pengutronix.de> wrote: > > Thankfully, Justin already contributed the fix to barebox upstream in the meantime and as far as > > I > > can see, it was quickly merged and should thus be part of the November release. > > I'd say you could resend the above patch with a barebox backport. To clarify: Justin already did this in a v2 and the patch is in oe-core upstream. I read this as meaning that you no longer consider a native lz4 dependency necessary. Thanks and regards, Enrico > Alex > -- Pengutronix e.K. | Enrico Jörns | Embedded Linux Consulting & Support | https://www.pengutronix.de/ | Steuerwalder Str. 21 | Phone: +49-5121-206917-180 | 31137 Hildesheim, Germany | Fax: +49-5121-206917-9 | ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-12 13:40 ` Enrico Jörns @ 2024-11-23 15:28 ` Guðni Már Gilbert 2024-11-25 18:21 ` Justin Bronder 0 siblings, 1 reply; 14+ messages in thread From: Guðni Már Gilbert @ 2024-11-23 15:28 UTC (permalink / raw) To: openembedded-core [-- Attachment #1: Type: text/plain, Size: 379 bytes --] Hi I'm seeing a build error on latest master when building Linux 6.10 due to missing lz4c tool. I see it's still used even in Linux 6.12: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=v6.12.1#n511 On my build host, lz4c is symlinked to lz4. But I suspect the issue is lz4c was removed from HOSTTOOLS. Anyone else seeing this problem? [-- Attachment #2: Type: text/html, Size: 584801 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-23 15:28 ` Guðni Már Gilbert @ 2024-11-25 18:21 ` Justin Bronder 2024-11-25 19:42 ` Guðni Már Gilbert 2024-12-10 3:51 ` [OE-core] " Denys Dmytriyenko 0 siblings, 2 replies; 14+ messages in thread From: Justin Bronder @ 2024-11-25 18:21 UTC (permalink / raw) To: gudni.m.g; +Cc: openembedded-core On 23/11/24 07:28 -0800, Gu�ni M�r Gilbert via lists.openembedded.org wrote: > Hi I'm seeing a build error on latest master when building Linux 6.10 due to missing lz4c tool. > > I see it's still used even in Linux 6.12: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=v6.12.1#n511 > > On my build host, lz4c is symlinked to lz4. But I suspect the issue is lz4c was removed from HOSTTOOLS. > > Anyone else seeing this problem? Yes, I can reproduce it when setting CONFIG_KERNEL_LZ4. I've sent a patch upstream. If they are receptive I'll submit it for linux-yocto. But perhaps in the meantime we should add lz4c to HOSTTOOLS_NONFATAL? https://lore.kernel.org/linux-kbuild/20241125171800.1131761-1-jsbronder@cold-front.org/T/#u -- Justin Bronder ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-11-25 18:21 ` Justin Bronder @ 2024-11-25 19:42 ` Guðni Már Gilbert 2024-12-10 3:51 ` [OE-core] " Denys Dmytriyenko 1 sibling, 0 replies; 14+ messages in thread From: Guðni Már Gilbert @ 2024-11-25 19:42 UTC (permalink / raw) To: openembedded-core [-- Attachment #1: Type: text/plain, Size: 121 bytes --] Hi Justin, thanks for submitting a patch upstream. I can confirm I have this in my defconfig: “CONFIG_KERNEL_LZ4=y” [-- Attachment #2: Type: text/html, Size: 140 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [OE-core] bitbake.conf: require lz4 instead of lz4c 2024-11-25 18:21 ` Justin Bronder 2024-11-25 19:42 ` Guðni Már Gilbert @ 2024-12-10 3:51 ` Denys Dmytriyenko 2024-12-10 15:15 ` Justin Bronder 1 sibling, 1 reply; 14+ messages in thread From: Denys Dmytriyenko @ 2024-12-10 3:51 UTC (permalink / raw) To: Justin Bronder; +Cc: gudni.m.g, openembedded-core On Mon, Nov 25, 2024 at 01:21:18PM -0500, Justin Bronder wrote: > On 23/11/24 07:28 -0800, Guðni Már Gilbert via lists.openembedded.org wrote: > > Hi I'm seeing a build error on latest master when building Linux 6.10 due to missing lz4c tool. > > > > I see it's still used even in Linux 6.12: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=v6.12.1#n511 > > > > On my build host, lz4c is symlinked to lz4. But I suspect the issue is lz4c was removed from HOSTTOOLS. > > > > Anyone else seeing this problem? > > Yes, I can reproduce it when setting CONFIG_KERNEL_LZ4. I've sent a patch > upstream. If they are receptive I'll submit it for linux-yocto. Ok, this got merged to 6.13-rc kernel series, but it's now broken for all the downstream BSPs and older kernel versions that use LZ4, besides linux-yocto. Sigh... > But perhaps in the meantime we should add lz4c to HOSTTOOLS_NONFATAL? Was there a patch submitted to have both lz4 and lz4c listed in HOSTTOOLS* (at least temporatily until this gets propagated everywhere)? -- Denys ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: bitbake.conf: require lz4 instead of lz4c 2024-12-10 3:51 ` [OE-core] " Denys Dmytriyenko @ 2024-12-10 15:15 ` Justin Bronder 0 siblings, 0 replies; 14+ messages in thread From: Justin Bronder @ 2024-12-10 15:15 UTC (permalink / raw) To: Denys Dmytriyenko; +Cc: gudni.m.g, openembedded-core On 09/12/24 22:51 -0500, Denys Dmytriyenko wrote: > On Mon, Nov 25, 2024 at 01:21:18PM -0500, Justin Bronder wrote: > > On 23/11/24 07:28 -0800, Gu�ni M�r Gilbert via lists.openembedded.org wrote: > > > Hi I'm seeing a build error on latest master when building Linux 6.10 due to missing lz4c tool. > > > > > > I see it's still used even in Linux 6.12: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=v6.12.1#n511 > > > > > > On my build host, lz4c is symlinked to lz4. But I suspect the issue is lz4c was removed from HOSTTOOLS. > > > > > > Anyone else seeing this problem? > > > > Yes, I can reproduce it when setting CONFIG_KERNEL_LZ4. I've sent a patch > > upstream. If they are receptive I'll submit it for linux-yocto. > > Ok, this got merged to 6.13-rc kernel series, but it's now broken for all the > downstream BSPs and older kernel versions that use LZ4, besides linux-yocto. > Sigh... > > > > But perhaps in the meantime we should add lz4c to HOSTTOOLS_NONFATAL? > > Was there a patch submitted to have both lz4 and lz4c listed in HOSTTOOLS* > (at least temporatily until this gets propagated everywhere)? I sent one just now. Apologies for the annoyances this has caused. No good deed goes unpunished ;) https://lore.kernel.org/openembedded-core/20241210151015.2450083-2-jsbronder@cold-front.org/T/#u -- Justin Bronder ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-12-10 15:15 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-11-05 15:37 [PATCH] bitbake.conf: require lz4 instead of lz4c Justin Bronder 2024-11-06 7:50 ` [OE-core] " Richard Purdie 2024-11-06 15:52 ` Justin Bronder 2024-11-06 16:01 ` Richard Purdie 2024-11-06 18:10 ` Justin Bronder 2024-11-06 16:03 ` [OE-core] " Alexander Kanavin 2024-11-12 13:20 ` Enrico Jörns 2024-11-12 13:34 ` Alexander Kanavin 2024-11-12 13:40 ` Enrico Jörns 2024-11-23 15:28 ` Guðni Már Gilbert 2024-11-25 18:21 ` Justin Bronder 2024-11-25 19:42 ` Guðni Már Gilbert 2024-12-10 3:51 ` [OE-core] " Denys Dmytriyenko 2024-12-10 15:15 ` Justin Bronder
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox